Update nebulamain.js

This commit is contained in:
schooldev49 2022-12-07 21:11:21 -05:00 committed by GitHub
parent dad9f18bf5
commit e7c14465af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
}