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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to