Put our start and recorded times in eastern time for easier review

This commit is contained in:
benjamin melançon 2021-04-27 11:30:53 -04:00
parent 9821ee623f
commit e36d149b10

View file

@ -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