chronotope/chrono
 Watch   
 Star   
 Fork   
12 days ago
chrono

0.4.45

What's Changed

2026-02-23 20:15:30
chrono

0.4.44

What's Changed

2026-01-15 05:33:11
chrono

0.4.43

What's Changed

2025-09-08 17:00:07
chrono

0.4.42

What's Changed

2025-04-29 16:47:41
chrono

v0.4.41

What's Changed

2025-02-26 16:32:37
chrono

0.4.40

What's Changed

2024-12-09 18:09:52
chrono

0.4.39

What's Changed

2024-04-15 17:52:49
chrono

v0.4.38

This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.

Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.

In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.

Removals

  • Remove rustc-serialize feature (#1548, thanks @workingjubilee)

Additions

  • Add Weekday::days_since (#1249, based on #216 by @clarfonthey)
  • Add TimeDelta::checked_mul and TimeDelta::checked_div (#1565, thanks @Zomtir)

Fixes

  • Return error when rounding with a zero duration (#1474, thanks @Dav1dde)
  • Manually implement Copy for DateTime if offset is Copy (#1573)

Internal

  • Inline test_encodable_json and test_decodable_json functions (#1550)
  • CI: Reduce combinations in cargo hack check (#1553)
  • Refactor formatting code (#1335)
  • Optimize number formatting (#1558)
  • Only package files needed for building and testing (#1554)

Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!

2024-04-11 14:39:20
chrono

v.0.4.8

Fixes

  • Add '0' to single-digit days in rfc2822 date format (@wyhaya #323)
  • Correctly pad DelayedFormat (@SamokhinIlya #320)

Features

  • Support wasm-unknown-unknown via wasm-bindgen (in addition to emscripten/wasm-unknown-emscripten). (finished by @evq in #331, initial work by @jjpe #287)
2024-03-27 19:44:30
chrono

v0.4.37

Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.

As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.

See also the release notes of chrono 0.4.36 from yesterday for the yanked release.