mirror of
https://github.com/penpot/penpot.git
synced 2025-02-03 21:09:00 -05:00
Fix :offset formater for datetime.
This commit is contained in:
parent
92060878d7
commit
e5fda5aac3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue