Skip to content

v0.5.3

Latest

Choose a tag to compare

@MiCkEyZzZ MiCkEyZzZ released this 25 May 18:27

Added

  • Introduced CivilDateTime — a proleptic Gregorian UTC datetime representation derived from Time<Utc>.
  • Added bidirectional conversion API between Time<Utc> and CivilDateTime.
  • Added Display implementation 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_days implementation readability.
  • Updated feature-gated serialization strategy documentation.

Fixed

  • Fixed potential overflow in as_unix_nanos conversion for large timestamps.

Removed

  • Removed legacy benches directory 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.