js-sys now supports obtaining the system's local UTC offset.
Changed
Performance of many Date operations has improved when using the large-dates feature.
While an internal change, OffsetDateTime now stores the value in the attached UtcOffset, not
UTC. This leads to significant performance gains on nearly all OffsetDateTime methods.
Fixed
Subtracting two Times can no longer panic. This previously occurred in some situations where the
result was invalid.
ISO 8601 parsing rounds the subseconds to avoid incorrectly truncating the value.
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 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)
Bumps time from 0.3.11 to 0.3.12.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
Commits
ea2d104
Update changelog, 0.3.12 release33afe9d
Simplify float rounding for use casecfaf7f9
Remove references to Codestream and VSLS7be38dc
ChangeOffsetDateTime
to store local datetimeab17a66
WASM support (#491)eb70b0e
Fix clippy lints9df48cd
Round subseconds to avoid float underflow (#489)1736ffe
Add direct doc example fordatetime!
macro (#487)94d56ab
Hide impl block from public docs14eaa49
Use runtime check for Julian day optimizationDependabot 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 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)