[PR #819] [MERGED] build(deps): bump time from 0.3.36 to 0.3.37 #967

Closed
opened 2026-05-22 21:55:10 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/819
Author: @dependabot[bot]
Created: 12/16/2024
Status: Merged
Merged: 12/16/2024
Merged by: @JakeStanger

Base: masterHead: dependabot/cargo/time-0.3.37


📝 Commits (1)

  • a5dbf69 build(deps): bump time from 0.3.36 to 0.3.37

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 Cargo.lock (+4 -4)
📝 Cargo.toml (+1 -1)

📄 Description

Bumps time from 0.3.36 to 0.3.37.

Release notes

Sourced from time's releases.

v0.3.37

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.37 [2024-12-03]

Added

  • Time::MAX, equivalent to time!(23:59:59.999999999)
  • [year repr:century] is now supported in format descriptions. When used in conjunction with [year repr:last_two], there is sufficient information to parse a date. Note that with the large-date feature enabled, there is an ambiguity when parsing the two back-to-back.
  • Parsing of strftime-style format descriptions, located at time::format_description::parse_strftime_borrowed and time::format_description::parse_strftime_owned
  • time::util::refresh_tz and time::util::refresh_tz_unchecked, which updates information obtained via the TZ environment variable. This is equivalent to the tzset syscall on Unix-like systems, with and without built-in soundness checks, respectively.
  • Month::length and util::days_in_month, replacing util::days_in_year_month.
  • Expressions are permitted in time::serde::format_description! rather than only paths. This also drastically improves diagnostics when an invalid value is provided.

Changed

  • Obtaining the system UTC offset on Unix-like systems should now succeed when multi-threaded. However, if the TZ environment variable is altered, the program will not be aware of this until time::util::refresh_tz or time::util::refresh_tz_unchecked is called. refresh_tz has the same soundness requirements as obtaining the system UTC offset previously did, with the requirements still being automatically enforced. refresh_tz_unchecked does not enforce these requirements at the expense of being unsafe. Most programs should not need to call either function.

    Due to this change, the time::util::local_offset module has been deprecated in its entirety. The get_soundness and set_soundness functions are now no-ops.

    Note that while calls should succeed, success is not guaranteed in any situation. Downstream users should always be prepared to handle the error case.

Fixed

  • Floating point values are truncated, not rounded, when formatting.
  • RFC3339 allows arbitrary separators between the date and time components.
  • Serialization of negative Durations less than one second is now correct. It previously omitted the negative sign.
  • From<js_sys::Date> for OffsetDateTime now ensures sub-millisecond values are not erroneously returned.
Commits
  • d4e39b3 v0.3.37 release
  • 0943997 Fix CI failure
  • 8b50f04 Update lints
  • 56f1db6 Add Month::length, days_in_month
  • 03bcfe9 Skip formatting some macros, update UI tests
  • 4404638 Permit exprs in serde::format_description!
  • 6b43b44 strftime implementation
  • 98569ff Hide deprecations from docs
  • febf3a1 Obtain local offset in multi-threaded situations
  • 1e19827 Update rstest and rstest_reuse; bump MSRV to 1.67.1 (#716)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/819 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/16/2024 **Status:** ✅ Merged **Merged:** 12/16/2024 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `dependabot/cargo/time-0.3.37` --- ### 📝 Commits (1) - [`a5dbf69`](https://github.com/JakeStanger/ironbar/commit/a5dbf691372ad16ea0b3cb484fe011a4af598718) build(deps): bump time from 0.3.36 to 0.3.37 ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+4 -4) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [time](https://github.com/time-rs/time) from 0.3.36 to 0.3.37. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/releases">time's releases</a>.</em></p> <blockquote> <h2>v0.3.37</h2> <p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p> <blockquote> <h2>0.3.37 [2024-12-03]</h2> <h3>Added</h3> <ul> <li><code>Time::MAX</code>, equivalent to <code>time!(23:59:59.999999999)</code></li> <li><code>[year repr:century]</code> is now supported in format descriptions. When used in conjunction with <code>[year repr:last_two]</code>, there is sufficient information to parse a date. Note that with the <code>large-date</code> feature enabled, there is an ambiguity when parsing the two back-to-back.</li> <li>Parsing of <code>strftime</code>-style format descriptions, located at <code>time::format_description::parse_strftime_borrowed</code> and <code>time::format_description::parse_strftime_owned</code></li> <li><code>time::util::refresh_tz</code> and <code>time::util::refresh_tz_unchecked</code>, which updates information obtained via the <code>TZ</code> environment variable. This is equivalent to the <code>tzset</code> syscall on Unix-like systems, with and without built-in soundness checks, respectively.</li> <li><code>Month::length</code> and <code>util::days_in_month</code>, replacing <code>util::days_in_year_month</code>.</li> <li>Expressions are permitted in <code>time::serde::format_description!</code> rather than only paths. This also drastically improves diagnostics when an invalid value is provided.</li> </ul> <h3>Changed</h3> <ul> <li> <p>Obtaining the system UTC offset on Unix-like systems should now succeed when multi-threaded. However, if the <code>TZ</code> environment variable is altered, the program will not be aware of this until <code>time::util::refresh_tz</code> or <code>time::util::refresh_tz_unchecked</code> is called. <code>refresh_tz</code> has the same soundness requirements as obtaining the system UTC offset previously did, with the requirements still being automatically enforced. <code>refresh_tz_unchecked</code> does not enforce these requirements at the expense of being <code>unsafe</code>. Most programs should not need to call either function.</p> <p>Due to this change, the <code>time::util::local_offset</code> module has been deprecated in its entirety. The <code>get_soundness</code> and <code>set_soundness</code> functions are now no-ops.</p> <p>Note that while calls <em>should</em> succeed, success is not guaranteed in any situation. Downstream users should always be prepared to handle the error case.</p> </li> </ul> <h3>Fixed</h3> <ul> <li>Floating point values are truncated, not rounded, when formatting.</li> <li>RFC3339 allows arbitrary separators between the date and time components.</li> <li>Serialization of negative <code>Duration</code>s less than one second is now correct. It previously omitted the negative sign.</li> <li><code>From&lt;js_sys::Date&gt; for OffsetDateTime</code> now ensures sub-millisecond values are not erroneously returned.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/time-rs/time/commit/d4e39b306db1624795cd4eb0cfde8cc802edd0e3"><code>d4e39b3</code></a> v0.3.37 release</li> <li><a href="https://github.com/time-rs/time/commit/09439970e55f191d992a1d5bc50e2d7dab19b33d"><code>0943997</code></a> Fix CI failure</li> <li><a href="https://github.com/time-rs/time/commit/8b50f04ee05d07f35b3f1293c4baf7e2746bf418"><code>8b50f04</code></a> Update lints</li> <li><a href="https://github.com/time-rs/time/commit/56f1db6dfa30ede8462ba61edb1ded2590d069d4"><code>56f1db6</code></a> Add <code>Month::length</code>, <code>days_in_month</code></li> <li><a href="https://github.com/time-rs/time/commit/03bcfe9f28450c723e32793ecd778f658eda7f02"><code>03bcfe9</code></a> Skip formatting some macros, update UI tests</li> <li><a href="https://github.com/time-rs/time/commit/4404638fe2267257f896553ba53ead727f466501"><code>4404638</code></a> Permit exprs in <code>serde::format_description!</code></li> <li><a href="https://github.com/time-rs/time/commit/6b43b44060e3a76f724fe85aea837e55d2843c1f"><code>6b43b44</code></a> strftime implementation</li> <li><a href="https://github.com/time-rs/time/commit/98569ffe5b19e0c25fedc5caf10f47669b239d05"><code>98569ff</code></a> Hide deprecations from docs</li> <li><a href="https://github.com/time-rs/time/commit/febf3a10de60d7dd62223b03fbb05363bd0e6f90"><code>febf3a1</code></a> Obtain local offset in multi-threaded situations</li> <li><a href="https://github.com/time-rs/time/commit/1e19827c5ac17435e0807fb9e28091a53dc6fb4f"><code>1e19827</code></a> Update rstest and rstest_reuse; bump MSRV to 1.67.1 (<a href="https://redirect.github.com/time-rs/time/issues/716">#716</a>)</li> <li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.3.36...v0.3.37">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=time&package-manager=cargo&previous-version=0.3.36&new-version=0.3.37)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 21:55:10 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#967
No description provided.