diff contrib/hgk @ 18803:82289176717d

hgk: don't use fixed format for dates Don't pass -format with a date format string, use default instead so users can use their own preferences.
author Andrew Shadura <bugzilla@tut.by>
date Sun, 10 Mar 2013 16:12:26 +0100
parents 814498f80d7d
children 870505ec3e56
line wrap: on
line diff
--- a/contrib/hgk	Sun Mar 10 16:07:57 2013 +0100
+++ b/contrib/hgk	Sun Mar 10 16:12:26 2013 +0100
@@ -380,11 +380,11 @@
 	}
     }
     if {$audate != {}} {
-	set audate [clock format $audate -format "%Y-%m-%d %H:%M:%S"]
+	set audate [clock format $audate]
     }
     if {$comdate != {}} {
 	set cdate($id) $comdate
-	set comdate [clock format $comdate -format "%Y-%m-%d %H:%M:%S"]
+	set comdate [clock format $comdate]
     }
     set commitinfo($id) [list $headline $auname $audate \
 			     $comname $comdate $comment $rev $branch $bookmark]