notmuch-show: Add unix and relative dates to the JSON output
authorDavid Edmondson <dme@dme.org>
Tue, 23 Mar 2010 09:40:48 +0000 (09:40 +0000)
committerDavid Edmondson <dme@dme.org>
Fri, 2 Apr 2010 08:25:38 +0000 (09:25 +0100)
commit930a47935fcd87ff4ae6c0c14279fd136f5bd78b
tree16f06983d4f8485b0517a2f8de189fa968a49828
parentf689c83af4e1d271d056b24da9e46e7b679ff978
notmuch-show: Add unix and relative dates to the JSON output

Include a 'date_unix' and 'date_relative' field in the JSON output for
each message. 'date_relative' can be used by a UI implementation,
whereas 'date_unix' is useful when scripting.
notmuch-show.c