I guess this isn't necessary and causes the deduction part to mess up since $timezone isn't an offset anymore.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xurubo93’s picture

I can confirm, this patch eliminates a bug, that leads to a wrong calculation of the begin-time.

HLopes’s picture

I'm having some issues with timezones still, maybe related to this change to date module?
https://www.drupal.org/node/998076

Patch attached with several fixes, namely:

Anonymous user issue: Undefined property: stdClass::$timezone in rate_expiration_node_insert.
https://www.drupal.org/node/1421016

Notice: Undefined index: #node in rate_expiration_form_alter()
https://www.drupal.org/node/1565120