Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50006

Est timezones are stored/updated with wrong information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.8.5
    • Calendar
    • MOODLE_28_STABLE

      In the database EST timezones (eg. Etc/GMT+5) is stored with the hour offset and not the minute offset in the database.

      That means when the get_user_timezone_offset function gets the record and divides with minutes per hour the offset is completely off.

      8:30 CET becomes 6:25 Etc/GMT+5 because the offset is calculated to -0.083333333333333

      Solution:

      Update the timezone information in the database to minutes,

            Unassigned Unassigned
            ecomerc Peter Obel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.