Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.
Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.
Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.
Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.3.0 to 3.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/date-fns/date-fns/releases">date-fns's releases</a>.</em></p>
<blockquote>
<h2>v3.3.1</h2>
<p>Kudos to <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@fturmel</code></a> for working on the release.</p>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p>
</li>
<li>
<p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md">date-fns's changelog</a>.</em></p>
<blockquote>
<h2>v3.3.1 - 2024-01-22</h2>
<p>Kudos to <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@fturmel</code></a> for working on the release.</p>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p>
</li>
<li>
<p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/date-fns/date-fns/commit/35c18587805aa0e8cc780c87ebd2f961dcfe8a76"><code>35c1858</code></a> Upgrade Vitest</li>
<li><a href="https://github.com/date-fns/date-fns/commit/aa264e394b66af6c2c4d8d4e2774d0b5bb8f9285"><code>aa264e3</code></a> Fix DST issue in getOverlappingDaysInIntervals</li>
<li><a href="https://github.com/date-fns/date-fns/commit/a960fc2100f3a6a99f0e8a050979c73670e3982f"><code>a960fc2</code></a> Enable extended timezone tests on main</li>
<li><a href="https://github.com/date-fns/date-fns/commit/29394724f78d2c0ff23b3c6a9c93965eb5b0ac66"><code>2939472</code></a> Fix incorrect rounding introduced in v3.3.0</li>
<li><a href="https://github.com/date-fns/date-fns/commit/ff60d482987214ac9171adc3ea42a66ebb04da05"><code>ff60d48</code></a> Fix browser tests (<a href="https://github.com/date-fns/date-fns/issues/3677">#3677</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/659ad02d1c93addb725b86160d21729fb5eef9f9"><code>659ad02</code></a> Update v3.3.0 changelog</li>
<li>See full diff in <a href="https://github.com/date-fns/date-fns/compare/v3.3.0...v3.3.1">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
argoyle
(Migrated from gitlab.com)
merged commit into master2024-01-23 16:52:51 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps date-fns from 3.3.0 to 3.3.1.
Release notes
Sourced from date-fns's releases.
Changelog
Sourced from date-fns's changelog.
Commits
35c1858Upgrade Vitestaa264e3Fix DST issue in getOverlappingDaysInIntervalsa960fc2Enable extended timezone tests on main2939472Fix incorrect rounding introduced in v3.3.0ff60d48Fix browser tests (#3677)659ad02Update v3.3.0 changelogDependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts