diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index bd3c26eca..9d6e8ddbe 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -74,6 +74,10 @@ jobs: pip install -r ldap-requirements.txt pip install -r test-requirements.txt python setup.py develop + - uses: szenius/set-timezone@v1.0 + - name: Set timezone + with: + timezoneLinux: Europe/Paris - name: Install postgres requirements if: ${{ matrix.database == 'postgres' }} run: | diff --git a/test_project/test_project/settings.py b/test_project/test_project/settings.py index f48ad6b15..d3c27a444 100644 --- a/test_project/test_project/settings.py +++ b/test_project/test_project/settings.py @@ -160,7 +160,7 @@ WSGI_APPLICATION = 'test_project.wsgi.application' LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'Europe/Paris' +TIME_ZONE = 'UTC' USE_I18N = True