diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index f960831..9d395b5 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -3,8 +3,8 @@ import pandas as pd timelog = pd.read_csv("timelog-titled.csv") -timelog["started"] = pd.to_datetime(timelog["started"]) -timelog["recorded"] = pd.to_datetime(timelog["recorded"]) +timelog["started"] = pd.to_datetime(timelog["started"]).dt.tz_convert("US/Eastern") +timelog["recorded"] = pd.to_datetime(timelog["recorded"]).dt.tz_convert("US/Eastern") 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