aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/util.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/tubo/util.cljs b/src/frontend/tubo/util.cljs
index 8e03f85..4958437 100644
--- a/src/frontend/tubo/util.cljs
+++ b/src/frontend/tubo/util.cljs
@@ -18,7 +18,7 @@
(defn format-duration
[num]
(let [duration (js/Date. (* num 1000))
- slice (if (> (.getHours duration) 1)
+ slice (if (>= (.getHours duration) 1)
#(.slice % 11 19)
#(.slice % 14 19))]
(-> duration (.toISOString) slice)))