File tree Expand file tree Collapse file tree 1 file changed +21
-20
lines changed
Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Original file line number Diff line number Diff line change @@ -42,26 +42,27 @@ then use formatter to result of division of input number and that power.
4242
4343## Date/Time formatters
4444
45- This is just subset of format/parse string from moment.js library. Currently supported
46- + ` YYYY `
47- + ` YY `
48- + ` MMMM `
49- + ` MMM `
50- + ` MM `
51- + ` DD `
52- + ` D `
53- + ` X `
54- + ` E `
55- + ` HH `
56- + ` hh `
57- + ` a `
58- + ` mm `
59- + ` m `
60- + ` ss `
61- + ` s `
62- + ` SSS `
63- + ` SS `
64- + ` S `
45+ This is a subset of common format/parse strings currently supported.
46+
47+ + ` YYYY ` - Full Year (1999)
48+ + ` YY ` - 2 digit year (99)
49+ + ` MMMM ` - Full Month (January)
50+ + ` MMM ` - Short Month (Jan)
51+ + ` DD ` - Padded Day (02)
52+ + ` D ` - Day of month (2)
53+ + ` X ` - Unix Timestamp (1506875681)
54+ + ` E ` - Day of Week (21)
55+ + ` dddd ` - DOW Name (Monday)
56+ + ` ddd ` - DOW Name Short (Mon)
57+ + ` HH ` - 24 Hour (13:00)
58+ + ` hh ` - 12 Hour (1:00)
59+ + ` a ` - Meridiem (am/pm)
60+ + ` mm ` - Minutes Padded (02)
61+ + ` m ` - Minutes (2)
62+ + ` ss ` - Seconds Padded (02)
63+ + ` s ` - Seconds (2)
64+
65+ Full list is defined [ here] ( https://github.com/slamdata/purescript-formatters/blob/master/src/Data/Formatter/DateTime.purs )
6566
6667## Documentation
6768
You can’t perform that action at this time.
0 commit comments