From f7d72d17fad7b86df15e4fa5a7f72f8b5992fd36 Mon Sep 17 00:00:00 2001 From: det-fys Date: Fri, 13 Nov 2020 18:28:24 +0100 Subject: [PATCH] Update app.js --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);