From 2258c2441b23ef0dcef6bd282dd76ea84a51c1a3 Mon Sep 17 00:00:00 2001 From: Dessalines <tyhou13@gmx.com> Date: Sun, 4 Oct 2020 19:14:23 -0500 Subject: [PATCH] Adding uppercase M, Y, for month, year. --- src/shared/utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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', }, }); -- 2.44.1