
5 Feb
2010
5 Feb
'10
2:54 a.m.
On 05/02/10 07:04, Johannes Waldmann wrote:
Johannes> Data.Time.LocalTime.LocalTime.LocalTime: Cannot parse Johannes> using default format string "%Y-%m-%dT%T%Q"
this actually comes from the default format string that is defined in old-locale:System.Locale?
iso8601DateFormat :: Maybe String -> String iso8601DateFormat mTimeFmt = "%Y-%m-%d" ++ case mTimeFmt of Nothing -> "" Just fmt -> 'T' : fmt
and this can't be right - the 'T' is invalid?
It's very much valid, see http://en.wikipedia.org/wiki/ISO_8601 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe