#5430: System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j 
starts
at 1
-----------------------+----------------------------------------------------
    Reporter:  guest   |       Owner:                     
        Type:  bug     |      Status:  new                
    Priority:  normal  |   Component:  libraries/haskell98
     Version:  6.12.1  |    Keywords:                     
    Testcase:          |   Blockedby:                     
          Os:  Linux   |    Blocking:                     
Architecture:  x86     |     Failure:  Documentation bug  
-----------------------+----------------------------------------------------
 The documentation states

 formatCalendarTime: [...] The formatting string is that understood by the
 ISO C strftime() function.

 but the result of %j is one less as reported by strftime

 I stumbled over it while using xmobar
 [http://code.google.com/p/xmobar/issues/detail?id=54]

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