Added
- Introduced
CivilDateTime— a proleptic Gregorian UTC datetime representation derived fromTime<Utc>. - Added bidirectional conversion API between
Time<Utc>andCivilDateTime. - Added
Displayimplementation for ISO 8601 / RFC 3339 format with nanosecond precision. - Added
is_whole_second()helper. - Added Unix time conversion API for
Time<Utc>(seconds and nanoseconds). - Added additional epoch constants for UTC/GPS/Unix alignment.
- Extended serde support and improved Postcard serialization test coverage.
- Added embedded-friendly serialization documentation improvements.
- Introduced new integration and round-trip test coverage across time scales.
Changed
- Refactored civil calendar conversion constants for improved clarity and symmetry.
- Improved architecture documentation consistency across crate, README, and internal modules.
- Improved
days_to_unix/civil_from_daysimplementation readability. - Updated feature-gated serialization strategy documentation.
Fixed
- Fixed potential overflow in
as_unix_nanosconversion for large timestamps.
Removed
- Removed legacy
benchesdirectory in favor of dedicated benchmark crate.
This release improves correctness, clarity, and extensibility of the time conversion layer while preserving full backward compatibility within the 0.5.x series.