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

Users UTC+/- timezone settings not migrated to new timezone format.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9, 3.0.4
    • 3.0.5
    • User management
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • MDL-50704-master
    • Hide

      None except to manually update all user's timezones.

      Show
      None except to manually update all user's timezones.
    • Hide

      3.1

      1. Hack your database and set a user's timezone to -1.
      2. Go to edit the profile of that person
      3. Confirm that you see Invalid timezone: "UTC-1.0"
      4. Confirm that the timezone was not changed after submitting the form
      5. Repeat with different timezones from -13 to 13

      3.0 onwards

      1. Make sure the Unit Tests pass
      2. Hack the DB to set a user's timezone to 0
      3. Confirm that it is displayed as "Invalid timezone: UTC" when edit that user's profile
      Show
      3.1 Hack your database and set a user's timezone to -1 . Go to edit the profile of that person Confirm that you see Invalid timezone: "UTC-1.0" Confirm that the timezone was not changed after submitting the form Repeat with different timezones from -13 to 13 3.0 onwards Make sure the Unit Tests pass Hack the DB to set a user's timezone to 0 Confirm that it is displayed as "Invalid timezone: UTC" when edit that user's profile

    Description

      With the adoption of the new core_date class and timezone methods it seems the UTC+/- timezones (standard in previous versions) are no longer supported nor migrated to new timezone format.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              brentboghosian Brent Boghosian
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/16