When calling an extension on the hook “publish_form_entry_data” the function date_default_timezone_get() returns “UTC”, the same extension calls code on the “sessions_end” hook - if date_default_timezone_get() is called there it returns “System/Localtime”.
As a result, calling $this->EE->localize->now returns different timestamps
How can that be??
In EE 2.6.1 the problem did not occur.
Maybe a Bug?When calling an extention on the hook “publish_form_entry_data” the function date_default_timezone_get() Returns “UTC”, the same extention calls code on the “sessions_end” hook - if date_default_timezone_get() is called there it returns “System/Localtime”.
How can that be??
In EE 2.6.1 the problem did not occu