0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Fix :offset formater for datetime.

This commit is contained in:
Andrey Antukh 2016-03-15 22:26:33 +02:00
parent 92060878d7
commit e5fda5aac3

View file

@ -75,7 +75,7 @@
(let [vm (js/moment v)]
(case fmt
:unix (.unix vm)
:offset (.valueOf v)
:offset (.valueOf vm)
:iso (.toISOString vm)
(.format vm fmt)))))