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

String for timezone pacific/kanton not found (backport of MDL-72953)

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide

      This patch is autotested, but feel free to confirm that all works as expected:

      1. Update/install tzdata:

        apt-get update && apt-get install tzdata
        

      2. Run the unit test:

        vendor/bin/phpunit --testsuite=core_testsuite --filter=test_timezone_lang_strings
        

      Show
      This patch is autotested, but feel free to confirm that all works as expected: Update/install tzdata : apt-get update && apt-get install tzdata Run the unit test: vendor/bin/phpunit --testsuite=core_testsuite --filter=test_timezone_lang_strings

    Description

      The Pacific/Enderbury zoneinfo was renamed to Pacific/Kanton

      As a result, PHPUnit reports a failure.

      PHP 7.4.3 (built: Oct 25 2021 18:20:54)

      Moodle 3.11.3+ (Build: 20211026), b8e5f7b428aaf5e97cc6ec9b10df949651b73094
      Php: 7.4.3, pgsql: 12.8 (Ubuntu 12.8-0ubuntu0.20.04.1), OS: Linux 5.4.0-89-generic x86_64
      PHPUnit 9.5.9 by Sebastian Bergmann and contributors.
      There was 1 failure:
      1) core_date_testcase::test_timezone_lang_strings
      String for timezone pacific/kanton not found.
      Failed asserting that false is true.
      lib/tests/date_test.php:174
      lib/phpunit/classes/advanced_testcase.php:80
      

      Attachments

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              lucaboesch Luca Bösch
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/Jan/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 25 minutes
                  25m