mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 05:56:03 +00:00
57_Calendar: correct event selection for limit:when=tomorrow (forum #97810)
git-svn-id: https://svn.fhem.de/fhem/trunk@23527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
00c67bac1e
commit
9ef1e7e1e8
@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 57_Calendar: correct event selection for
|
||||
limit:when=tomorrow (forum #97810)
|
||||
- feature: 36_ShellyModule: new module to interwork with 36_Shelly
|
||||
- bugfix: 98_WeekdayTimer: fix timer admin
|
||||
- change: 10_WS980: fix num vs. string
|
||||
|
@ -2056,7 +2056,7 @@ sub Calendar_Get($@) {
|
||||
$from *= -1;
|
||||
} else {
|
||||
$from = DAYSECONDS - Calendar_GetSecondsFromMidnight();
|
||||
$to = $from + DAYSECONDS;
|
||||
$to = $from + DAYSECONDS - 1;
|
||||
}
|
||||
push @filters, { ref => \&filter_endafter, param => $t+$from };
|
||||
push @filters, { ref => \&filter_startbefore, param => $t+$to };
|
||||
|
Loading…
x
Reference in New Issue
Block a user