Skip to content

Commit

Permalink
Add timezone to database - Closes #26
Browse files Browse the repository at this point in the history
  • Loading branch information
adeveloper-wq committed Aug 2, 2024
1 parent 716226b commit c355c0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

HEALTHCHECK_TOKEN = os.environ.get('HEALTHCHECK_TOKEN', 'healthcheck-token')

# One of the following: 'dev' / 'staging' / 'production'
# One of the following: 'dev' / 'staging' / 'production' / 'release'
FCM_PUSH_NOTIFICATION_ENVIRONMENT = os.environ.get('FCM_PUSH_NOTIFICATION_ENVIRONMENT', 'dev')
FCM_PUSH_NOTIFICATION_CONF = os.path.join(BASE_DIR.parent, "config/fcm-key.json")

Expand Down Expand Up @@ -122,6 +122,8 @@
'PASSWORD': os.environ.get('POSTGRES_PASSWORD'),
'HOST': os.environ.get('POSTGRES_HOST'),
'PORT': os.environ.get('POSTGRES_PORT'),

'TIME_ZONE': 'Europe/Berlin',
}
}

Expand Down Expand Up @@ -156,7 +158,7 @@

LANGUAGE_CODE = 'de-de'

TIME_ZONE = 'Africa/Mbabane'
TIME_ZONE = 'Europe/Berlin'

USE_I18N = True

Expand Down

0 comments on commit c355c0d

Please sign in to comment.