Browse Source

Updates week short form

main
Eric Amodio 4 years ago
parent
commit
ffc1ad9955
1 changed files with 19 additions and 2 deletions
  1. +19
    -2
      src/system/date.ts

+ 19
- 2
src/system/date.ts View File

@ -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',

Loading…
Cancel
Save