II belive that in ISO8601 the date and time should be separated by a 'T', not a space
Based on http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations I believe the implementation ought to be changed to
iso8601DateFormat :: Maybe String -> String
iso8601DateFormat timeFmt =
"%Y-%m-%d" ++ case timeFmt of
Nothing -> ""
Just fmt -> 'T' : fmt
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |