Update nebulamain.js
This commit is contained in:
parent
dad9f18bf5
commit
e7c14465af
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ window.addEventListener("load", () => {
|
||||||
if (h == 0) {
|
if (h == 0) {
|
||||||
h = 12
|
h = 12
|
||||||
}
|
}
|
||||||
if (h > 12) {
|
h = h == 12 ? 24 : h;
|
||||||
|
|
||||||
|
if (h >= 12) {
|
||||||
h = h - 12
|
h = h - 12
|
||||||
session = "PM"
|
session = "PM"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue