OK we had a US Pacific in here that needed updating as well as the Easterns
Honestly my use of timezones in these programs is such a hack i should not complain when they break, even though the breakage is unrelated to my hackiness.
This commit is contained in:
parent
97463d60f0
commit
1830c07329
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ timelog["time"] = 30
|
||||||
# A pomodoro started before 3am Eastern time is considered to be a continuation
|
# A pomodoro started before 3am Eastern time is considered to be a continuation
|
||||||
# of the day before, so we are, effectively, on West Coast time for determining
|
# of the day before, so we are, effectively, on West Coast time for determining
|
||||||
# the day we want to associate a time entry with. PomodoroPrompt saves as UTC.
|
# the day we want to associate a time entry with. PomodoroPrompt saves as UTC.
|
||||||
timelog["date"] = timelog["started"].dt.tz_convert("US/Pacific").dt.date
|
timelog["date"] = timelog["started"].dt.tz_convert("America/Los_Angeles").dt.date
|
||||||
timelog['date'] = pd.to_datetime(timelog['date'])
|
timelog['date'] = pd.to_datetime(timelog['date'])
|
||||||
timelog["day_of_week"] = pd.to_datetime(timelog["date"]).dt.day_name()
|
timelog["day_of_week"] = pd.to_datetime(timelog["date"]).dt.day_name()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue