mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +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)]
|
||||
(case fmt
|
||||
:unix (.unix vm)
|
||||
:offset (.valueOf v)
|
||||
:offset (.valueOf vm)
|
||||
:iso (.toISOString vm)
|
||||
(.format vm fmt)))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user