Skip to content

Commit

Permalink
Merged master into release
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Mar 19, 2024
2 parents 68848c8 + b89574c commit f0f99f6
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 f0f99f6

Please sign in to comment.