use #asUtcTimestamp
authorStefan Vogel <sv@exept.de>
Mon, 17 Jul 2006 12:03:34 +0200
changeset 1507 883bdacd2617
parent 1506 e304342e4fb8
child 1508 06d441988888
use #asUtcTimestamp
CVSSourceCodeManager.st
--- a/CVSSourceCodeManager.st	Fri Jul 14 19:29:54 2006 +0200
+++ b/CVSSourceCodeManager.st	Mon Jul 17 12:03:34 2006 +0200
@@ -1295,8 +1295,7 @@
     "/
     "/ correct our current time, so that converting it will give us UTC
     "/
-    time := Timestamp now subtractSeconds:1.
-    time := time addSeconds:(time utcOffset).
+    time := Timestamp now asUtcTimestamp subtractSeconds:1.
 
     self createEntryFor:checkoutName 
          module:moduleDir
@@ -1807,8 +1806,7 @@
     "/
     "/ correct our current time, so that converting it will give us UTC
     "/
-    time := Timestamp now subtractSeconds:1.
-    time := time addSeconds:(time utcOffset).
+    time := Timestamp now asUtcTimestamp subtractSeconds:1.
 
     self createEntryFor:checkoutName 
          module:moduleDir
@@ -4269,7 +4267,7 @@
 !CVSSourceCodeManager class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic3/CVSSourceCodeManager.st,v 1.311 2006-07-04 16:24:54 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/CVSSourceCodeManager.st,v 1.312 2006-07-17 10:03:34 stefan Exp $'
 ! !
 
 CVSSourceCodeManager initialize!