fixes #20285; prevent oid time overflow at year 2038 (#20338)

* Revert "fixes  #20285; prevent oid time overflow at year 2038"

This reverts commit dfcdb6ec2ab6a5fa53b6a99294a84fd122be8f8d.

* increase time to 64 bits and clean up

* add testcase

* inline consts

* add a changelog

* fixes  #20285; prevent oid time overflow at year 2038
This commit is contained in:
ringabout 2022-09-22 21:15:27 +08:00 • committed by GitHub
commit db8a62d480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 26 deletions

View file

@ -65,6 +65,8 @@
- `strutils.find` now uses and defaults to `last = -1` for whole string searches,
making limiting it to just the first char (`last = 0`) valid.
- `random.rand` now works with `Ordinal`s.
- `std/oids` now uses `int64` to store time internally (before it was int32), the length of
the string form of `Oid` changes from 24 to 32.
[//]: # "Additions:"
- Added ISO 8601 week date utilities in `times`: