diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index 9d395b5..d535447 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -10,4 +10,4 @@ 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["day_of_week"] = timelog["day"].dt.day_name() +timelog["day_of_week"] = pd.to_datetime(timelog["date"]).dt.day_name()