From e5fda5aac3fe8f0d970b88d4e280fe307f4599a3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 15 Mar 2016 22:26:33 +0200 Subject: [PATCH] Fix :offset formater for datetime. --- src/uxbox/util/datetime.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxbox/util/datetime.cljs b/src/uxbox/util/datetime.cljs index 14308784f..bd9e1e9e6 100644 --- a/src/uxbox/util/datetime.cljs +++ b/src/uxbox/util/datetime.cljs @@ -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)))))