mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
Fix :offset formater for datetime.
This commit is contained in:
@@ -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)))))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user