Do not assume that days always have 86400 seconds

Make that date membership is computed correctly, even if a day has less
than 86400 seconds (e.g. after changing clocks).

Reported-by: Hakan Jerning <jerning@home.se>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2016-03-27 12:54:10 +02:00
parent e1b6d22669
commit 9e160fac16
8 changed files with 47 additions and 5 deletions

View File

@@ -52,6 +52,7 @@ TESTS = \
next-001.sh \
search-001.sh \
bug-002.sh \
regress-001.sh \
recur-001.sh \
recur-002.sh \
recur-003.sh \
@@ -105,6 +106,7 @@ EXTRA_DIST = \
data/apts-event-006 \
data/apts-filter-001 \
data/apts-recur \
data/apts-regress-001 \
data/conf \
data/ical-001.ical \
data/ical-002.ical \