Comment 5 for bug 538933

Revision history for this message
Daniel Herring (dherring) wrote :

Ok, I've sorted it out. Looking at the other darcs->git conversion, I was able to properly identify the commiter's home country (Finland). Nothing to learn from that conversion.

It took me a while to find docs, but Darcs stores UTC timestamps, and converts them to "local" time for user display.
http://wiki.darcs.net/NamedPatch
http://search.cpan.org/~david/Darcs-Inventory-1.4/lib/Darcs/Inventory/Patch.pm
http://bugs.darcs.net/issue140

Since all information about the actual timezone is lost, I believe the proper thing is to always report UTC. See the attached patch. It applies on top of the previous one.