--- a/AbstractOperatingSystem.st Sat Nov 08 11:16:32 2014 +0100
+++ b/AbstractOperatingSystem.st Sat Nov 08 18:10:01 2014 +0100
@@ -7275,7 +7275,8 @@
^ utcOffset
"
- OperatingSystem utcOffset
+ (OperatingSystem timeInfoFromSeconds:Timestamp now utcSecondsSince1970 milliseconds:0 localTime:true)
+ utcOffset
"
!
@@ -7578,32 +7579,14 @@
standardMinute := standardMinuteArg.
! !
-!AbstractOperatingSystem::TimeZoneInfo methodsFor:'queries'!
-
-utcOffset
- "return the difference between UTC (Greenwich Mean Time) and the local time in seconds.
- If daylight saving time applies to ourself, take that into account.
- Add utcOffset to convert from local time to UTC time.
- Subtract utcOffset to convert from UTC time to local time.
-
- If utcOffset is negative, the local timezone is east of Greenwich.
- If utcOffset is positive, the local timezone is west of Greenwich."
-
- ^ (bias + daylightBias) * 60
-
- "
- OperatingSystem utcOffset
- "
-! !
-
!AbstractOperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.273 2014-11-08 10:16:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.274 2014-11-08 17:10:01 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.273 2014-11-08 10:16:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.274 2014-11-08 17:10:01 stefan Exp $'
! !