git/GitSignature.st
changeset 19 b67bf709cd32
parent 18 d359fb6d415c
child 20 24ae01b36807
--- a/git/GitSignature.st	Wed Sep 26 06:30:08 2012 +0000
+++ b/git/GitSignature.st	Sat Sep 29 21:09:30 2012 +0000
@@ -86,11 +86,11 @@
 timestamp
 
     (timestamp isNil and:[handle notNil]) ifTrue:[
-        timestamp := Timestamp utcMillisecondsSince1970: handle time 
+        timestamp := Timestamp utcSecondsSince1970: handle time + handle offset
     ].
     ^timestamp
 
-    "Modified: / 25-09-2012 / 22:28:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 29-09-2012 / 23:05:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 timestamp: aTimestamp
@@ -98,6 +98,7 @@
     timestamp := aTimestamp. 
     handle notNil ifTrue:[
         handle time: timestamp utcSecondsSince1970.
+        handle offset: 0
     ].
     ^timestamp