Repository navigation
v0.8.0
Highlights
- Lazy
iter_range,iter_span_range, anditer_intervalAPIs with constant auxiliary memory, shared with the existing list APIs. - Signed nth-weekday shifts through
shift_weekday(weekday, nth). - Local timezone offsets resolved for the target date instead of the Unix epoch.
- Shift argument checks before integer multiplication.
Breaking changes
Morrow(...)defaults to UTC and validates date/time fields and offsets. Construction and related helpers can raise.- Create naive values explicitly with
tz=TimeZone.none()or.naive(). - Mixed naive/aware equality returns false; ordering, subtraction, relative humanization, and membership checks reject mixed awareness.
now()andfromtimestamp()continue to use local time.
See the migration guide for details.
Validation and downloads
The supported build matrix covers Mojo 1.0.0 and 1.1.0 on Linux x86-64, Linux ARM64, and macOS ARM64. Select the archive matching your compiler and platform. SHA256SUMS accompanies the archives.
Validation includes 46 tests, seasonal local-time regression tests, and 400 deterministic behavioral checks. English and Chinese documentation builds were also verified.
IANA timezones, explicit DST disambiguation, and localization are planned for 0.9; 0.8 retains fixed-offset timezone values and English text.