From: Dessalines Date: Mon, 5 Oct 2020 00:14:23 +0000 (-0500) Subject: Adding uppercase M, Y, for month, year. X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7B%60https:/%24%7Bi%7D%60%7D?a=commitdiff_plain;h=2258c2441b23ef0dcef6bd282dd76ea84a51c1a3;p=lemmy-ui.git Adding uppercase M, Y, for month, year. --- diff --git a/src/shared/utils.ts b/src/shared/utils.ts index 16b99f8..9d4725b 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -1169,9 +1169,9 @@ moment.updateLocale('en', { dd: '%dd', w: '1w', ww: '%dw', - M: '1m', - MM: '%dm', - y: '1y', - yy: '%dy', + M: '1M', + MM: '%dM', + y: '1Y', + yy: '%dY', }, });