Update app.js
This commit is contained in:
parent
18c6557349
commit
f7d72d17fa
2
app.js
2
app.js
@ -29,7 +29,7 @@ function vypocitatCas(vojsl) {
|
|||||||
let d = new Date();
|
let d = new Date();
|
||||||
let hod = d.getHours();
|
let hod = d.getHours();
|
||||||
let min = d.getMinutes();
|
let min = d.getMinutes();
|
||||||
if (min >= /*30*/ 20) {
|
if (min > 25 && min < 55) {
|
||||||
min = 0;
|
min = 0;
|
||||||
hod = hod == 23 ? 0 : hod + 1;
|
hod = hod == 23 ? 0 : hod + 1;
|
||||||
c = new Date(c.getDate() + 1);
|
c = new Date(c.getDate() + 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user