cylc-flow
cylc-flow copied to clipboard
Update isodatetime to 3.2
Fix bug where next(...) could return a datetime in the past. E.g. if the current time is 2024-01-01T12:30Z, next(--01-01) now evaluates to 2025-01-01T00:00Z instead of 2024-01-01T00:00Z. Equivalent fix for previous().
Closes #5795 Also addresses #4805 (already closed)
Does not tackle #2382
Needs:
- [ ] https://github.com/metomi/isodatetime/pull/234
- [ ] Isodatetime 3.2 released
Check List
- [x] I have read
CONTRIBUTING.mdand added my name as a Code Contributor. - [x] Contains logically grouped changes (else tidy your branch by rebase).
- [x] Does not contain off-topic changes (use other PRs for other changes).
- [x] Applied any dependency changes to both
setup.cfg(andconda-environment.ymlif present). - [x] Tests are included (or explain why tests are not needed).
- [x]
CHANGES.mdentry included if this is a change that can affect users - [x] https://github.com/cylc/cylc-doc/pull/713
- [x] If this is a bug fix, PR should be raised against the relevant
?.?.xbranch.