Skip to content

Commit

Permalink
Merge pull request #912 from opengisch/QF-3953-fix-timezones
Browse files Browse the repository at this point in the history
Fix typo to fix timezones for users from the other side of the world
  • Loading branch information
suricactus authored Mar 19, 2024
2 parents de1e318 + 8510d23 commit b89574c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-app/qfieldcloud/core/middleware/timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self, get_response):

def __call__(self, request):
if request.user.is_authenticated and hasattr(
request.user.useraccount, "useraccount"
request.user.useraccount, "timezone"
):
user_tz = request.user.useraccount.timezone
elif settings.TIME_ZONE:
Expand Down

0 comments on commit b89574c

Please sign in to comment.