]> git.notmuchmail.org Git - notmuch/commit
test: Fix date in test message in multipart test.
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 6 Jun 2011 00:29:26 +0000 (17:29 -0700)
committerDavid Bremner <bremner@debian.org>
Mon, 5 Sep 2011 11:54:56 +0000 (08:54 -0300)
commitec2b0a98cc2b02fad99455bca6cf896d7b7e88a6
treed7701f14a14765c5f0b98ceb5b6c4a3581e2e118
parentea3a26f590b1d1957907ab83b17a0fe95beb0e3d
test: Fix date in test message in multipart test.

The test message date, "Tue, 05 Jan 2001 15:43:57 -0000", is not
actually a real date.  05 Jan 2001 was in fact a Friday, not a
Tuesday.  Date parsers (such as "date" in coreutils) will return "Fri"
as the day for this string, even if "Tue" is specified.

Also, the time zone "-0000" is actually always returned as "+0000", so
we change that here was well.

This will be relevant for later patches when we begin parsing rfc822
part headers, where gmime returns a parsed date string.

If we do want to test date parsing, we should do that in a separate
test.
test/multipart