fix timezones in darcs-fast-export, take 2
authorD Herring <dherring@at.tentpost.dot.com>
Wed, 21 Apr 2010 21:23:07 +0000 (23:23 +0200)
committerMiklos Vajna <vmiklos@frugalware.org>
Wed, 21 Apr 2010 21:23:07 +0000 (23:23 +0200)
commit46bfe88a10e97abd9cc9db33abd7dbad469d06a0
tree7b4fa34874e119195c02b8abc028b78ee7339c12
parenta53883cb8dd6aabb695c88fbf7b617c1e523171b
fix timezones in darcs-fast-export, take 2

The previous patch had a flaw; it assumed that darcs was storing the committer's timezone.
Instead, darcs always stores UTC timestamps in an ISO 8601 format.
Tools like "darcs changes" convert this into the user's local time as a convenience.

I couldn't find an authoritative spec, but here are some relevant references.
http://wiki.darcs.net/NamedPatch
http://search.cpan.org/~david/Darcs-Inventory-1.4/lib/Darcs/Inventory/Patch.pm
http://bugs.darcs.net/issue140

To resolve the issue, this patch always reports that the timezone is UTC.
exporters/darcs/darcs-fast-export