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:
parent
48d3c25535
commit
97463d60f0
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue