[darcs-devel] darcs patch: Account for timezone offset in
cleanDate... (and 1 more)
Eric Kow
eric.kow at gmail.com
Sat Jun 10 21:19:11 PDT 2006
Two unrelated timezone fixes.
I don't really expect the local timezone one to be controversial, but it does
1. make a change in how the user interface behaves
before, if you type in something like 2006-06-10 21:44, you would
get 21:44 UTC... now you would get it in your local time, which would
seem more intuitive.
2. use unsafePerformIO to grab the local timezone
So there may be some discussing to do
Sat Jun 10 21:30:49 CEST 2006 Eric Kow <eric.kow at gmail.com>
* Account for timezone offset in cleanDate (Fixes issue173).
Sat Jun 10 21:44:09 CEST 2006 Eric Kow <eric.kow at gmail.com>
* Assume local timezone, not UTC, when parsing iso8601 dates.
UTC or any other timezone, can still be specified with an offset, for
example, 14:00Z for UTC, or 14:00+02 for 2 hours after UTC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 38913 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20060611/8c9cb770/attachment.bin
More information about the darcs-devel
mailing list