hgweb and gitweb: Commit times displayed incorrectly
Thomas Arendsen Hein
thomas at intevation.de
Tue Jun 14 16:25:41 UTC 2005
* Radoslaw Szkodzinski <astralstorm at gorzow.mm.pl> [20050614 17:45]:
> Who is wrong there, especially with hours count?
> Here it's 17:43 +0200
>
> hgweb:
> *16 hours ago: *
http://www.kernel.org/hg/?cmd=changelog;rev=30069
> gitweb:
> /11 hours ago/
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=log;h=e2c16499515aa044676a14b97a1b8a35f879152a
> My clone:
> author Jon Smirl <jonsmirl at gmail.com> Mon, 13 Jun 2005 15:52:36 -0700
> committer Linus Torvalds <torvalds at ppc970.osdl.org> Mon, 13 Jun 2005 20:58:58 -0700
Both are correct.
hgweb uses the timestamp of the "author" line, gitweb uses the
timestamp of the "commiter" line. Mercurial (hg) doesn't distinguish
author and commiter, therefore it uses the earlier time.
Regards,
Thomas Arendsen Hein
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list