#2196: Errors in output from formatTime
-------------------------------+--------------------------------------------
 Reporter:  laney              |          Owner:          
     Type:  bug                |         Status:  new     
 Priority:  normal             |      Milestone:          
Component:  libraries (other)  |        Version:  6.8.2   
 Severity:  normal             |     Resolution:          
 Keywords:                     |     Difficulty:  Unknown 
 Testcase:                     |   Architecture:  Multiple
       Os:  Unknown            |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> Hi,
>
> I have discovered two errors in the Date/Time libraries distributed with
> GHC.
>
> When running the attached testcase:
>
> *Main> timebug
> Loading package old-locale-1.0.0.0 ... linking ... done.
> Loading package time-1.1.2.0 ... 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
>
> Iain

New description:

 Hi,

 I have discovered two errors in the Date/Time libraries distributed with
 GHC.

 When running the attached testcase:
 {{{
 *Main> timebug
 Loading package old-locale-1.0.0.0 ... linking ... done.
 Loading package time-1.1.2.0 ... 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

 Iain

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2196#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to