Permalink
Browse files

Fix date warning

  • Loading branch information...
1 parent bb9d48d commit fdcec23cd54dcfe124bb2b4f5727f81cdfc9702a @zk committed Oct 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/nsfw/util.cljs
View
2 src/cljs/nsfw/util.cljs
@@ -72,7 +72,7 @@
(defn timeago [date-or-ms]
(let [ms (if (number? date-or-ms)
(- (now) date-or-ms)
- (- (now) (ms date)))
+ (- (now) (ms date-or-ms)))
s (/ ms 1000)
m (/ s 60)
h (/ m 60)

0 comments on commit fdcec23

Please sign in to comment.