Releases: ariebovenberg/whenever
Releases · ariebovenberg/whenever
0.6.14
Fixed
- Ensure docstrings and error messages are consistent in Rust extension as well as the pure-Python version
- Remove ondocumented properties
hour
/minute
/etc fromInstant
that were accidentally left in the Rust extension. exact_eq()
now also raisesTypeError
in the pure Python version when comparing different types.
0.6.13
Added
- Make
from_py_datetime()
methods ofInstant
/OffsetDateTime
less pedantic. They now accept any aware datetime - New
Date.today_in_system_tz()
convenience method
Fixed
- Parsing UTC offsets with out-of-range minute/second components (e.g.
06:79
) now raises the expected parsing failure. - Note in
parse_rfc2822()
docstring that it doesn't (yet) validate the input, due to limitations in the underlying parser.
0.6.12
0.6.11
- (new) Added
YearMonth
andMonthDay
classes for working with year-month and month-day pairs - (fixed)
whenever.__version__
is now also accessible when Rust extension is used
0.6.10
0.6.9
0.6.8
0.6.7
- Add Python 3.13 binary wheels, now that its ABI is stable
- Small improvements to import speed
0.6.6
Fix potential memory leak in .now()
if time-machine
is used