From 9c7d2b09a5792019e0669f040d7737d87a4bb218 Mon Sep 17 00:00:00 2001 From: Ray Holder Date: Sun, 5 Dec 2021 16:36:29 -0600 Subject: [PATCH] Add logic for 12 hr mode to handle midnight 00:00 as 12:00 --- apps/93dub/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/93dub/app.js b/apps/93dub/app.js index 92544304c..8f662a616 100644 --- a/apps/93dub/app.js +++ b/apps/93dub/app.js @@ -78,6 +78,9 @@ function draw(){ } else { h = " " + h; } + } else if (h === 0) { + // display 12:00 instead of 00:00 for 12 hr mode + h = "12"; } //draw separator