mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
6aeef2ee15
If seconds are not specified in the string to be parsed, they're not set according to the reference time (in the no rounding case) nor rounded properly (in the rounding up cases). Fix this. The bug caused searches such as date:10:30..10:30 to match messages with date exactly 10:30:00 only, and not in range 10:30:00..10:30:59 (inclusive) as documented. Note that date searches referring "noon" or "5pm" will still be interpreted as exact to the second. |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.local | ||
parse-time-string.c | ||
parse-time-string.h | ||
README |
PARSE TIME STRING ================= parse_time_string() is a date/time parser originally written for notmuch by Jani Nikula <jani@nikula.org>. However, there is nothing notmuch specific in it, and it should be kept reusable for other projects, and ready to be packaged on its own as needed. Please do not add dependencies on or references to anything notmuch specific. The parser should only depend on the C library.