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

String for timezone pacific/kanton not found

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • master-MDL-72953
    • 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

      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
      

       

            mikhailgolenkov Misha Golenkov
            rdebleu Renaat Debleu
            Brendan Heywood Brendan Heywood
            Ilya Tregubov Ilya Tregubov
            CiBoT CiBoT
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 11 minutes
                11m

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