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:
benjamin melançon 2023-10-01 20:20:50 -04:00
parent 97463d60f0
commit 1830c07329

View file

@ -77,7 +77,7 @@ timelog["time"] = 30
# 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
# 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["day_of_week"] = pd.to_datetime(timelog["date"]).dt.day_name()