Dates in diff output

Zbynek Winkler zwin at users.sourceforge.net
Thu Sep 22 16:30:38 CDT 2005


Hello, would it be difficult to include timezone information in the 
patch that is the result of 'hg log -p'?
The header already has the right date. Consider this example:

changeset:   2:e303603af3bd55eb6d27a6a3f65d59961f043182
tag:         tip
user:        zbynek at localhost
date:        Thu Sep 22 23:21:04 2005 +0200
files:       guide/odometry/annot.cs.php
description:
Unimportant.


diff -r 91e526d4375b4fc9bda12b39a68804b6459ded98 -r e303603af3bd55eb6d27a6a3f65d59961f043182 guide/odometry/annot.cs.php
--- a/guide/odometry/annot.cs.php	Thu Sep 22 19:10:57 2005
+++ b/guide/odometry/annot.cs.php	Thu Sep 22 21:21:04 2005


The date in the header shows "23:21:04 2005 +0200" while the diff output 
shows "Thu Sep 22 21:21:04 2005" which is UTC.

Zbynek

-- 
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic



More information about the Mercurial mailing list