Put our start and recorded times in eastern time for easier review
This commit is contained in:
parent
9821ee623f
commit
e36d149b10
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ import pandas as pd
|
||||||
|
|
||||||
timelog = pd.read_csv("timelog-titled.csv")
|
timelog = pd.read_csv("timelog-titled.csv")
|
||||||
|
|
||||||
timelog["started"] = pd.to_datetime(timelog["started"])
|
timelog["started"] = pd.to_datetime(timelog["started"]).dt.tz_convert("US/Eastern")
|
||||||
timelog["recorded"] = pd.to_datetime(timelog["recorded"])
|
timelog["recorded"] = pd.to_datetime(timelog["recorded"]).dt.tz_convert("US/Eastern")
|
||||||
timelog["time"] = 30
|
timelog["time"] = 30
|
||||||
# A pomodoro started before 3am Eastern time is considered to be a continuation
|
# 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
|
# of the day before, so we are, effectively, on West Coast time for determining
|
||||||
|
|
Loading…
Reference in a new issue