Ashley Yakeley wrote:
> This was fixed in time-1.2.0.5. From the haddock for parseTime:
>
> "Supports the same %-codes as formatTime, including %-, %_ and %0
> modifiers."

Great, glad to hear this was recently fixed. I installed
the latest version of the time package, and it works.

It is important to note that this works differently than the usual
strptime behavior, though. For example, "%m" in Data.Time is
an alias for "%0m", whereas "%m" in strptime means the
same as "%-m" in Data.Time (optional leading zero).

Thanks,
Yitz

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

Reply via email to