diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-08-28 06:56:12 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-08-28 07:06:06 +0200 |
commit | 7924315bfb8ae707b2b510b808377c79355ba6a2 (patch) | |
tree | 428a380a0d6d5553a4864e724fc32c6cc1eab52d /%253fid%253d8d85a58a268644ecabaddb3cd12f8beb39d13962%3fid%3d8d85a58a268644ecabaddb3cd12f8beb39d13962?id=7924315bfb8ae707b2b510b808377c79355ba6a2 | |
parent | e76b96c9ff162ada42863d4ec2d739bf874af113 (diff) |
Fix support for punctual appointments at 00:00
When checking whether an appointment belongs to a given day in
apoint_inday(), the return value was 0 if the end time of the
appointment matched 00:00 on that day (because we do not want to include
appointments starting on the day before and lasting until midnight).
However, this means that punctual appointments at 00:00 were not
included in any day. Fix the apoint_inday() logic to take this into
consideration.
Fixes GitHub issue #39.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%253fid%253d8d85a58a268644ecabaddb3cd12f8beb39d13962%3fid%3d8d85a58a268644ecabaddb3cd12f8beb39d13962?id=7924315bfb8ae707b2b510b808377c79355ba6a2')
0 files changed, 0 insertions, 0 deletions