Skip to content

Commit 4c48cd1

Browse files
committed
add timestamp parsing
1 parent 201cf5d commit 4c48cd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Data/Formatter/DateTime.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ formatterCommandParser = (PC.try <<< PS.string) `oneOfAs`
125125
, Tuple "DD" DayOfMonthTwoDigits
126126
, Tuple "D" DayOfMonth
127127
, Tuple "E" DayOfWeek
128+
, Tuple "X" UnixTimestamp
128129
, Tuple "HH" Hours24
129130
, Tuple "hh" Hours12
130131
, Tuple "a" Meridiem

0 commit comments

Comments
 (0)