#5430: System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j 
starts
at 1
----------------------------------+-----------------------------------------
  Reporter:  guest                |          Owner:  igloo 
      Type:  bug                  |         Status:  closed
  Priority:  normal               |      Milestone:  7.4.1 
 Component:  libraries/haskell98  |        Version:  6.12.1
Resolution:  fixed                |       Keywords:        
  Testcase:                       |      Blockedby:        
Difficulty:                       |             Os:  Linux 
  Blocking:                       |   Architecture:  x86   
   Failure:  Documentation bug    |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => 7.4.1


Comment:

 Fixed by:
 {{{
 commit 3669ee6fd9cfbec4d8f3b5e5f8862b864f427b7f
 Author: Ian Lynagh <[email protected]>
 Date:   Fri Sep 30 12:27:06 2011 +0100

     Make %j return values in the right range; fixes #5430

     Both "struct tm" and the CalendarTime type use 000-365, but %j
     uses 001-366.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5430#comment:2>
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