Update app.js

This commit is contained in:
det-fys 2020-11-13 18:28:24 +01:00 committed by GitHub
parent 18c6557349
commit f7d72d17fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.js
View File

@ -29,7 +29,7 @@ function vypocitatCas(vojsl) {
let d = new Date();
let hod = d.getHours();
let min = d.getMinutes();
if (min >= /*30*/ 20) {
if (min > 25 && min < 55) {
min = 0;
hod = hod == 23 ? 0 : hod + 1;
c = new Date(c.getDate() + 1);