hi

i found module event and scheduler doesnt work properly because they using same node variable 'timezone' and its not working because, module event using 'date_default_timezone_id' and module scheduler using 'date_default_timezone' which both are different.

Example :
America/Denver :
date_default_timezone_id = 66
date_default_timezone = -25200

has anyone found solution for this ?

thanks
Rizqi

Comments

skiminki’s picture

Version: 5.x-1.12 » 5.x-1.13

I think neither event or scheduler should set or rely on $node->timezone. That's too generic. I wonder if we could remove $node->timezone and use $node->scheduler["timezone"] instead?

I'd also like to remove $node->publish_on and $node->unpublish_on in favor of $node->scheduler[...] variants, but I'm afraid that themes displaying scheduling info would get unnecessarily broken.

Comments, anyone?

Leeteq’s picture

Subscribing.

skiminki’s picture

Status: Active » Fixed

Timezone functionality has been changed recently (#252116: Scheduler should persist timestamps in UTC). The conflict should be removed now as a side effect.

eric-alexander schaefer’s picture

Status: Fixed » Closed (fixed)