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

Timezones aren't installed to Moodle on initial install

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0, 2.4.7, 2.5.3, 2.6, 2.9
    • Fix Version/s: None
    • Component/s: Administration
    • Database:
      Any
    • Testing Instructions:
      Hide

      Manual tests

      1. Install a new Moodle manually, using the GUI.
        • At the admin user creation screen, observe that you have a list of timezones to choose from besides the UTC offsets.
      2. Uninstall your Moodle and re-install it using the CLI.
        • Once more, at the admin user creation screen, observe that you have a list of timezones to choose from besides the UTC offsets.
      3. Manually verify that there are rows in the timezone and timezone_windows_to_olson tables.

      Automated tests

      1. Run the following PHPUnit files: /calendar/tests/lib_test.php, /calendar/tests/ical_test.php
      Show
      Manual tests Install a new Moodle manually, using the GUI. At the admin user creation screen, observe that you have a list of timezones to choose from besides the UTC offsets. Uninstall your Moodle and re-install it using the CLI. Once more, at the admin user creation screen, observe that you have a list of timezones to choose from besides the UTC offsets. Manually verify that there are rows in the timezone and timezone_windows_to_olson tables. Automated tests Run the following PHPUnit files: /calendar/tests/lib_test.php, /calendar/tests/ical_test.php
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-22465-master
    • Sprint:
      Team Beards Sprint 3

      Description

      Steps to reproduce:
      1/ Install a new moodle
      2/ Create a new user
      3/ Try to set their timezone to something human (like Australia/Perth)

      Expected result:
      The Austrlia/Perth timezone is visible on initial install.

      Actual result:
      Only manual UTC offsets are available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jethac Jetha Chan
              Reporter:
              andreabix Andrea Bicciolo
              Peer reviewer:
              Zachary Durber
              Integrator:
              Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: