add day if requested time is on a different day
Before:
$ undertime -t Pacific/Auckland
UTC time requested: 2022-03-22 18:03:29+00:00
Local time requested: 2022-03-22 14:03:29-04:00
Equivalent to: 07:03 Pacific/Auckland
After:
$ ./undertime -t Pacific/Auckland
UTC time requested: 2022-03-22 18:04:57+00:00
Local time requested: 2022-03-22 14:04:57-04:00
Equivalent to: 2022-03-23 07:04 Pacific/Auckland
Tests are still failing, so WIP. I'm also not sure how this will look with multiple zones, so will need some more testing, especially when looking from "the other side" (ie. from NZ looking at the rest of the world in the previous day).
Closes: #22 (closed)
Edited by Antoine Beaupré