summaryrefslogtreecommitdiff
path: root/parse-time-string/parse-time-string.c
AgeCommit message (Collapse)Author
2013-08-23timegm: add portable implementation (Solaris support)Blake Jones
The timegm(3) function is a non-standard extension to libc which is available in GNU libc and on some BSDs. Although SunOS had this function in its libc, Solaris (unfortunately) removed it. This patch implements a very simple version of timegm() which is good enough for parse-time-string.c. Signed-off-by: Vladimir Marek <vlmarek@volny.cz>
2012-10-31parse-time-string: add a date/time parser to notmuchJani Nikula
Add a date/time parser to notmuch, to be used for adding date range query support for notmuch lib later on. Add the parser to a directory of its own to make it independent of the rest of the notmuch code base. Signed-off-by: Jani Nikula <jani@nikula.org>