Adjust offset time
This commit is contained in:
parent
a50eab7dc9
commit
29553e37ea
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function Home() {
|
||||||
const handleSubmit = async (event) => {
|
const handleSubmit = async (event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
let input = parseInt(inputValue.trim());
|
let input = parseInt(inputValue.trim());
|
||||||
let time = Math.round((new Date(inputValue.trim()).getTime() + 200000) / 1000);
|
let time = Math.round((new Date(inputValue.trim()).getTime() + 70000) / 1000);
|
||||||
if (input === -1) {
|
if (input === -1) {
|
||||||
time = 1711741114;
|
time = 1711741114;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue