learnweb / moodle-mod_collabora

:memo: :globe_with_meridians: An activity for live document editing in Moodle, powered by Collabora Online
GNU General Public License v3.0
8 stars 8 forks source link

Last modification time offset when PHP time zone not UTC #31

Closed jojoob closed 2 years ago

jojoob commented 2 years ago

We noticed a time offset for the "Last modification time". It relates to the time zone set on the Moodle server. In our case UTC+2 (CEST) = -7200 seconds. Before the time change (UTC+1 (CET)) we experienced an offset of -3600 seconds.

mod_collabora_negative_time

grabs commented 2 years ago

Hi, thank you for this fix. It is integrated now.