mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
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) {
|
||||
h = 12
|
||||
}
|
||||
if (h > 12) {
|
||||
h = h == 12 ? 24 : h;
|
||||
|
||||
if (h >= 12) {
|
||||
h = h - 12
|
||||
session = "PM"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue