TimeZone setup, as simple as possible
Philippe Marschall
philippe.marschall at gmail.com
Tue Aug 21 20:56:25 UTC 2007
2007/8/21, Janko Mivšek <janko.mivsek at eranova.si>:
> Hi Philippe,
>
> Philippe Marschall wrote:
>
> >> I'm just going through the challenge to set a local timezone correctly
> >> and I'm wondering why there is no something as simple as:
> >>
> >> TimeZone setLocal: 'CET'
> >>
> >> to set my timezone?
> >
> > With Chronos you can use:
> > (Timezone at: #'CET') beSystem
>
> That's better, but you need to load Chronos.
Yeah, packages must be loaded like Swazoo or SPort.
> Question is, wouldn't be
> fine if something like that would be in a default squeak image?
You mean like setting the locale to the correct value?
http://www.chronos-st.org/Discovering%20the%20Local%20Time%20Zone--Why%20It's%20a%20Hard%20Problem.html
Cheers
Philippe
More information about the Squeak-dev
mailing list
|