540Re: [rss-public] Re: RFC822 date support
- Mar 21, 2006robertsayre2000 wrote:
> Thunderbird uses the reasonably well-tested Mozilla Mail/News libraryTime Zones:
> to parse RSS dates, but the syndication code screens things out with a
> relatively stringent regex. Could you list the test failures for
> Thunderbird specifically? I would like to file bugs on them, if necessary.
Thunderbird interprets any military time zone as being equivalent to the
user's local time zone. Personally I consider that wrong but for these tests
I didn't count that against it. However I would expect it to be capable of
parsing the Z time zone as GMT in the following example:
Thu, 09 Feb 2006 23:59:45 Z
These tests were all meant to test non-standard case, but the last one is
assumedly just a continuation of the military time zone bug.
tHu, 09 Feb 2006 23:59:45 +0000
Thu, 09 fEb 2006 23:59:45 +0000
Thu, 09 Feb 2006 16:59:45 pDt
Thu, 09 Feb 2006 23:59:45 z
Note the backslash in the second example is part of the test.
Thu(oh how I hate thursdays), 9(th) Feb(ruary) 2006 23:59:45 +0000(GMT
Thu, 09 (nested (comment) Mar)Feb(escaped comment\) 2005) 2006()23:59:45
Thu, 9 Feb 2006 23:59:45 +0000 (GMT)
Tabs and CR/LF are shown using C escaping.
\tThu , \t 09 Feb\t2006 23:59:45\t +0000
\r\n Thu,\r\n 09 Feb 2006\r\n 23:59:45 +0000\r\n
Past and Future:
The results Thunderbird produced for these was quite weird.
Sun, 09 Feb 1806 23:59:45 +0000
Fri, 09 Feb 1906 23:59:45 +0000
Tue, 09 Feb 2106 23:59:45 +0000
The tests were run on Windows XP with version 1.6a1 (20051215).
- << Previous post in topic Next post in topic >>