updated time zone in sync
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
# Python
|
||||
import oauth2 as oauth
|
||||
import pytz
|
||||
import cgi
|
||||
import requests
|
||||
import requests.auth
|
||||
@@ -231,7 +232,8 @@ def createrunkeeperworkoutdata(w):
|
||||
}
|
||||
distancedata.append(point)
|
||||
|
||||
start_time = w.startdatetime.strftime("%a, %d %b %Y %H:%M:%S")
|
||||
st = w.startdatetime.astimezone(pytz.timezone(w.timezone))
|
||||
start_time = st.strftime("%a, %d %b %Y %H:%M:%S")
|
||||
|
||||
try:
|
||||
newnotes = w.notes+'\n from '+w.workoutsource+' via rowsandall.com'
|
||||
|
||||
Reference in New Issue
Block a user