diff --git a/static/resources/nebulamain.js b/static/resources/nebulamain.js index ce9ef86..99b2d76 100644 --- a/static/resources/nebulamain.js +++ b/static/resources/nebulamain.js @@ -42,7 +42,9 @@ window.addEventListener("load", () => { if (h == 0) { h = 12 } - if (h > 12) { + h = h == 12 ? 24 : h; + + if (h >= 12) { h = h - 12 session = "PM" }