diff --git a/app.js b/app.js index e4477e5..89ac040 100644 --- a/app.js +++ b/app.js @@ -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);