I am hungry because more cereal

This commit is contained in:
Ethan O'Brien
2024-05-05 00:20:49 -05:00
parent eb96e33a90
commit 24881d2987
2 changed files with 26 additions and 0 deletions

View File

@ -75,6 +75,8 @@ function Home() {
let time = Math.round((new Date(inputValue.trim()).getTime() + 70000) / 1000);
if (inputValue.trim() === "-1") {
time = 1711741114;
} else if (inputValue.trim() === "0") {
time = 0;
}
if (time < 0 || isNaN(time)) return;
let resp = await Request("/api/webui/set_time", {