Sorry to be replying to myself.
It actually works, (might be what you meant) to do:
Calendar.Calendar mycal= Calendar.ISO->set_timezone("Europe/Amsterdam"); mycal->Minute(2040,11,8,2,46) ;
(3) Result: Minute(Thu 8 Nov 2040 2:46 CET)
But this is not done in the pike-testsuite. How can I get it to work there?
On Fri, Feb 25, 2005 at 06:50:03PM +0100, Marc Dirix wrote:
On Fri, Feb 25, 2005 at 05:40:01PM +0100, Johan Sundström (Achtung Liebe!) @ Pike (-) developers forum wrote:
If you set your timezone to your actual timezone (and not localtime) I think you will find that things start working.
Sorry I don't really understand, whenn I installed Linux I selected Europe/Amsterdam as local timezone. Isn't that enough or should I declare this somewhere?
Providing details about where (in the file system, for instance) to find which timezone your machine has may make Pike better at defaulting to that zone, too.
How is this done?
Sorry for the newbie questions.
/Marc