Sourced from time's releases.
v0.3.30
See the changelog for details.
v0.3.29
See the changelog for details.
v0.3.28
See the changelog for details.
v0.3.27
See the changelog for details.
v0.3.26
See the changelog for details.
v0.3.25
See the changelog for details.
v0.3.24
See the changelog for details.
v0.3.23
See the changelog for details.
v0.3.22
See the changelog for details.
v0.3.21
See the changelog for details.
v0.3.20
See the changelog for details.
v0.3.19
See the changelog for details.
v0.3.18
See the changelog for details.
v0.3.17
See the changelog for details.
v0.3.16
See the changelog for details.
v0.3.15
See the changelog for details.
v0.3.14
See the changelog for details.
... (truncated)
Sourced from time's changelog.
0.3.30 [2023-10-13]
Added
powerfmt::smart_display::SmartDisplayhas been added for the main types in the library. These implementations ensure that values follow the requested fill, width, and alignment when usingformat!or similar macros.Displayis implemented in terms ofSmartDisplay.Fixed
- Large values no longer wrap around in release mode when using
NumericalDurationorNumericalStdDuration.0.3.29 [2023-09-24]
Added
- Niche value optimization for
Datehas been added. BothDateandOption<Date>are four bytes.- Unit conversions have been added. It is now possible to write
Second::per(Day), which returns the number of seconds in one day. See the types in thetime::convertmodule for more information.Changed
- The diagnostic for
--cfg unsound_local_offsethas been removed.#![feature(no_coverage)]was previously used internally for code coverage. It is no longer used, so it has been removed.- The default value for
modifier::OffsetHourhas been changed. This was unintentionally changed in v0.3.17 and went unnoticed until now. The sign is now only present if needed by default, as was the case previously. This does not affect any situation whereformat_description!orformat_description::parseis used.Fixed
- Adding or subtracting a
std::time::Durationto/from anOffsetDateTimewill not result in integer overflow internally. It will still panic if the result is out of range.0.3.28 [2023-08-27]
Added
- More additional constants for the well-known
Iso8601format description have been added. This avoids the need to manually configure the format.- An
[end]component has been added. This is ignored during formatting, but is used to indicate the end of input when parsing. If any input remains after this component, an error is returned. This is useful when using the[first]component, as it avoids the need to reorder variants.Changed
... (truncated)