[Glass] Default TimeZone ...

Norbert Hartl norbert at hartl.name
Thu Nov 28 04:25:36 PST 2013


Am 28.11.2013 um 09:32 schrieb itlists at schrievkrom.de:

> Why is the default TimeZone on my gemstone installation PDT - but the
> system-wide (Linux) is CET ("TimeZone fromLinux" by the way returns
> CEST, which is simply WRONG).
> 
> I was aware that VA had lot of troubles with Time zones - but Gemstone
> with containers shipping worldwide I thought that this would work -
> actually because they use ICU in other areas of their product ....
> 
> 
> GemStone 3.1.0.4 under Ubuntu 12.0.4.x

Whenever I install a new image I execute the following script:

set user SystemUser pass swordfish gems push-server
display oops

iferror where

login

run
| osTZ |
System beginTransaction.
osTZ := TimeZone fromOS.
osTZ installAsCurrentTimeZone.
TimeZone default: osTZ.
TimeZoneInfo default: osTZ.
System commitTransaction.
%

hope this helps,

Norbert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131128/2da63af0/attachment.html>


More information about the Glass mailing list