Errors in output from formatTime
|Reported by:||laney||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
Description (last modified by igloo)
I have discovered two errors in the Date/Time libraries distributed with GHC.
When running the attached testcase:
*Main> timebug Loading package old-locale-22.214.171.124 ... linking ... done. Loading package time-126.96.36.199 ... linking ... done. "Sun, d Apr 2008 00:16:45 UTC"
There are two problems here:
- Returns "d" for day of month, certainly not right.
- Returns "UTC" instead of "UT", incorrect per RFC 822 - http://www.faqs.org/rfcs/rfc822.html section 5.1
Change History (5)
Changed 7 years ago by laney
Note: See TracTickets for help on using tickets.