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