mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 03:13:40 +00:00
Fix :offset formater for datetime.
This commit is contained in:
parent
92060878d7
commit
e5fda5aac3
@ -75,7 +75,7 @@
|
|||||||
(let [vm (js/moment v)]
|
(let [vm (js/moment v)]
|
||||||
(case fmt
|
(case fmt
|
||||||
:unix (.unix vm)
|
:unix (.unix vm)
|
||||||
:offset (.valueOf v)
|
:offset (.valueOf vm)
|
||||||
:iso (.toISOString vm)
|
:iso (.toISOString vm)
|
||||||
(.format vm fmt)))))
|
(.format vm fmt)))))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user