System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j starts at 1
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
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/haskell98 |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | srtlg@web.de |
Operating system | |
Architecture |