hgk: don't use fixed format for dates
authorAndrew Shadura <bugzilla@tut.by>
Sun, 10 Mar 2013 16:12:26 +0100
changeset 18803 82289176717d
parent 18802 814498f80d7d
child 18804 870505ec3e56
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.
contrib/hgk
--- 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]