notmuch clon
Find a file
Carl Worth a2f0445e1b Fix relative date formatting to not split one day into two formats.
We were aware of this bug when we wrote the function, (that a date
six days in the past would be treated as the "Friday" or as the
"Oct. 23" case depending on whether its time was before or after
the current time today). We thought it wouldn't be a problem, but
in practice it is. In scanning search results with this output,
the transition between formats makes it look like a day boundary,
(so it would be easy to mistakenly think "Oct. 23" is Thursday).

Fix this to avoid confusion, (still being careful to never print
"Thursday" for a date 7 days in the past when today is Thursday).
2009-10-29 17:42:21 -07:00
.gitignore .gitignore: Ignore generated file Makefile.dep 2009-10-20 23:13:28 -07:00
AUTHORS Rename sha1.c to libsha1.c 2009-10-21 23:27:48 -07:00
COPYING Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
COPYING-GPL-3 Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
database-private.h Add full-text indexing using the GMime library for parsing. 2009-10-28 12:50:10 -07:00
database.cc notmuch show: Add a one-line summary of the message before the header. 2009-10-29 17:30:56 -07:00
date.c Add -Wwrite-strings and fix warnings. 2009-10-25 15:55:23 -07:00
index.cc index: Don't bother indexing quoted portions of messages (and signatures). 2009-10-28 15:41:42 -07:00
libsha1.c Rename sha1.c to libsha1.c 2009-10-21 23:27:48 -07:00
libsha1.h Add sha1.c and libsha1.h for doing SHA-1-based message-ID generation. 2009-10-21 21:33:02 -07:00
Makefile Add full-text indexing using the GMime library for parsing. 2009-10-28 12:50:10 -07:00
message-file.c notmuch show: Add body of message as well. 2009-10-29 09:06:53 -07:00
message.cc notmuch show: Add a one-line summary of the message before the header. 2009-10-29 17:30:56 -07:00
message.h notmuch: Switch from gmime to custom, ad-hoc parsing of headers. 2009-10-19 13:00:43 -07:00
notmuch-completion.bash Add bash-completion script for notmuch. 2009-10-24 22:28:22 -07:00
notmuch-private.h notmuch search: Add (relative) date to search output 2009-10-29 17:31:07 -07:00
notmuch.c Fix relative date formatting to not split one day into two formats. 2009-10-29 17:42:21 -07:00
notmuch.h notmuch search: Add (relative) date to search output 2009-10-29 17:31:07 -07:00
query.cc notmuch search: Add (relative) date to search output 2009-10-29 17:31:07 -07:00
sha1.c sha1: Add new notmuch_sha1_of_string function 2009-10-23 13:54:53 -07:00
tags.c tags: Replace sort() and reset() with prepare_iterator(). 2009-10-26 14:12:56 -07:00
thread.cc notmuch search: Add (relative) date to search output 2009-10-29 17:31:07 -07:00
TODO TODO: Update now that full-text indexing is in. 2009-10-28 16:52:45 -07:00
xutil.c Add -Wextra and fix warnings. 2009-10-25 15:52:14 -07:00
xutil.h Add wrappers for regcomp and regexec to xutil.c. 2009-10-21 15:07:20 -07:00