Private
Public Access
1
0

improved timezone awareness on upload

This commit is contained in:
Sander Roosendaal
2017-09-04 12:18:12 +02:00
parent 534d48b664
commit b4953509a4
2 changed files with 35 additions and 5 deletions

View File

@@ -6275,7 +6275,7 @@ def workout_edit_view(request,id=0,message="",successmessage=""):
"%Y-%m-%d %H:%M:%S")
startdatetime = timezone.make_aware(startdatetime)
startdatetime = startdatetime.astimezone(pytz.timezone(thetimezone))
print startdatetime
# check if user is owner of this workout
if checkworkoutuser(request.user,row):