diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index b4c5967..3d4af24 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -78,6 +78,7 @@ timelog["time"] = 30 # of the day before, so we are, effectively, on West Coast time for determining # the day we want to associate a time entry with. PomodoroPrompt saves as UTC. timelog["date"] = timelog["started"].dt.tz_convert("US/Pacific").dt.date +timelog['date'] = pd.to_datetime(timelog['date']) timelog["day_of_week"] = pd.to_datetime(timelog["date"]).dt.day_name() # If a project has been specified (task prefixed with a colon), then put the