Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix 1 hour pluralization in util/timeago

  • Loading branch information...
commit a3f6356ae98e509463bc0519c6adb57d74a33e7f 1 parent b5d3ced
@zk authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/cljs/nsfw/util.cljs
View
1  src/cljs/nsfw/util.cljs
@@ -83,6 +83,7 @@
(< m 2) "1 minute"
(< h 1) (str (int m) " minutes")
(< d 1) (str (int h) " hours")
+ (< h 2) "1 hour"
(< d 2) "1 day"
(< y 1) (str (int d) " days")
:else "over a year")))
Please sign in to comment.
Something went wrong with that request. Please try again.