From c416f273bf9ecad6b43b0ff22f95eaee02e68e2a Mon Sep 17 00:00:00 2001 From: neubert Date: Sun, 17 Nov 2019 16:07:12 +0000 Subject: [PATCH] 57_Calendar: fix for today filter git-svn-id: https://svn.fhem.de/fhem/trunk@20528 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/57_Calendar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/57_Calendar.pm b/fhem/FHEM/57_Calendar.pm index 7edbf3eee..6960df4cb 100644 --- a/fhem/FHEM/57_Calendar.pm +++ b/fhem/FHEM/57_Calendar.pm @@ -2034,7 +2034,7 @@ sub Calendar_Get($@) { my ($from,$to); if (lc($1) eq 'today') { $from = Calendar_GetSecondsFromMidnight(); - $to = DAYSECONDS - $from; + $to = DAYSECONDS - $from - 1; $from *= -1; } else { $from = DAYSECONDS - Calendar_GetSecondsFromMidnight();