fix timezones in darcs-fast-export, take 2girocco
commit93a74f9a2ad98083e53ea0c820f9405bb3580b26
authorD Herring <dherring@at.tentpost.dot.com>
Thu, 18 Mar 2010 03:14:11 +0000 (17 23:14 -0400)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 4 Jul 2016 16:56:43 +0000 (4 09:56 -0700)
tree1cd9b825e3d3cb0006eeafaf5500eb9f5f6b1cbe
parent6a9328014e78960cf55d3d468cea9892b7ade01c
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.
darcs-fast-export