[EMAIL PROTECTED] wrote:
> When I request the next scheduled event I expect always to obtain the same
> instant time, possibly expressed in different time zone. Unfortunately I get
> 19:15 CEST and 18:15 CEST. Where am I getting it wrong?

When you ask for 

(1)  cron->set_time_zone( tz )->next( x )

it executes internally as

(2)  cron->next( x )->set_time_zone( tz )

Your way would be:

(3)  cron->next( x->clone->set_time_zone( tz ) )->
(4)        set_time_zone( x->time_zone )

Which looks like the best way to do it.
I'm not so sure about like (4), but it looks right.

Do all this agree with what you got?

- Flavio S. Glock

Reply via email to