Switch to supported timezone indicator since pytz suddenly ditched 'Eastern'

This is so seriously bizarre but whatever.

Had a moment of madness with like 'but i know i fixed this'!
before suddenly realizing it was in Pomodoro Prompt not this hours rollup
that i fixed it in last week!
This commit is contained in:
benjamin melançon 2023-10-01 20:18:36 -04:00
parent 48d3c25535
commit 97463d60f0

View file

@ -66,8 +66,8 @@ timelog = timelog.explode("description").reset_index()
if debug:
mess = copy.deepcopy(timelog)
timelog["started"] = pd.to_datetime(timelog["started"], errors='coerce').dt.tz_convert("US/Eastern")
timelog["recorded"] = pd.to_datetime(timelog["recorded"]).dt.tz_convert("US/Eastern")
timelog["started"] = pd.to_datetime(timelog["started"], errors='coerce').dt.tz_convert("America/New_York")
timelog["recorded"] = pd.to_datetime(timelog["recorded"]).dt.tz_convert("America/New_York")
latest_recorded = settings.pomodoro_latest_recorded()
if latest_recorded: