[Haskell] ANNOUNCE: time-1.2.0.5
Ashley Yakeley
ashley at semantic.org
Wed May 11 08:59:49 CEST 2011
I've uploaded time-1.2.0.5 to Hackage. Version 1.2.0.5 fixes two parsing
issues in 1.2.0.4.
Firstly, the default century (in the absence of %C or %Y) is 1969-2068.
Formerly it was 1900-1999.
http://hackage.haskell.org/trac/ghc/ticket/2671
Secondly, %-, %_ and %0 specifiers can now be used. For instance,
parseTime defaultTimeLocale "%-m/%e/%Y" "3/9/2011" :: Maybe Day =
Just 2011-03-09
-- Ashley
More information about the Haskell
mailing list