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/%7B%24%7B%60data:application/%22%7Burl%7D/readmes/static/%7BlocalRss%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', }, });