Skip to content

Commit

Permalink
Fixing /Current Time showing midnight as 24:xx
Browse files Browse the repository at this point in the history
fixing #1182 when /Current Time shows midnight as 24:xx instead of 00:xx
  • Loading branch information
akhater authored and tiensonqin committed Jan 29, 2021
1 parent fbf4616 commit 71b1617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/date.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
(gobj/get js/window.navigator "language")
(bean/->js {:hour "2-digit"
:minute "2-digit"
:hour12 false}))))
:hourCycle "h23"}))))

(defn valid?
[s]
Expand Down

0 comments on commit 71b1617

Please sign in to comment.