mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
57_Calendar: fix for today filter
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20528 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cd164a3731
commit
a5ea1aeb41
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user