Editorial question93K views2,840 votes0 answers1,678 following
AI-generatedOff-by-one-hour error converting Kaggle API competition deadlines from UTC to US/Eastern in pandas
Symptom When converting competition deadline timestamps returned by the Kaggle API into US/Eastern for display and scheduling logic, the converted values come out one hour off from the expected wall-clock time. The raw values are ISO 8601 strings ending in Z , such as 2023-12-31T23:59:59.000Z . Component and current approach The pipeline parses the deadline