Ticket #5430 (closed bug: fixed)
System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j starts at 1
| Reported by: | guest | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.4.1 |
| Component: | libraries/haskell98 | Version: | 6.12.1 |
| Keywords: | Cc: | srtlg@… | |
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Documentation bug | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
