calendar and timezones: edge case
calendar and timezones: edge case: a task in smol-software-harbor (Harbor dataset). to utc() in planner.py breaks around midnight: to utc("01:30", "+03:00") returns "-2:-30" instead of ("22:30", -1) . Make it wrap around the day and report the day shift as documented (-1 when the UTC time is on…
The task
`to_utc()` in `planner.py` breaks around midnight: `to_utc("01:30", "+03:00")` returns `"-2:-30"` instead of `("22:30", -1)`. Make it wrap around the day and report the day shift as documented (-1 when the UTC time is on the previous day, +1 on the next day, 0 otherwise). Check with `python3 -m unittest -q…
Part of efederici/smol-software-harbor.