Skip to content

Commit

Permalink
Try to set timezone on the host.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Jun 17, 2021
1 parent 10dd93d commit 8ee4095
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/modoboa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion test_project/test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'Europe/Paris'
TIME_ZONE = 'UTC'

USE_I18N = True

Expand Down

0 comments on commit 8ee4095

Please sign in to comment.