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/%22%7Bauthor_url%7D/static/%7BprofileRss%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', }, });