From ffc1ad99558c36ca1353c4d3b1821f6de7d5b603 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 1 Nov 2020 23:08:58 -0500 Subject: [PATCH] Updates week short form --- src/system/date.ts | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/system/date.ts b/src/system/date.ts index b76a182..5956b8a 100644 --- a/src/system/date.ts +++ b/src/system/date.ts @@ -53,6 +53,23 @@ const shortLocale = { weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + // relativeTime: { + // future: 'in %s', + // past: '%s', + // s: 'now', + // m: '1 min', + // mm: '%d mins', + // h: '1 hr', + // hh: '%d hrs', + // d: '1 day', + // dd: '%d days', + // w: '1 wk', + // ww: '%d wks', + // M: '1 mo', + // MM: '%d mos', + // y: '1 yr', + // yy: '%d yrs', + // }, relativeTime: { future: 'in %s', past: '%s', @@ -63,8 +80,8 @@ const shortLocale = { hh: '%dh', d: '1d', dd: '%dd', - w: '1w', - ww: '%dw', + w: '1wk', + ww: '%dwk', M: '1mo', MM: '%dmo', y: '1yr',