Skip to content

Commit b070d14

Browse files
committed
Auto merge of #3931 - rust-lang:renovate/date-fns-2.x, r=Turbo87
Update dependency date-fns to v2.24.0 [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [date-fns](https://github.com/date-fns/date-fns) | [`2.23.0` -> `2.24.0`](https://renovatebot.com/diffs/npm/date-fns/2.23.0/2.24.0) | [![age](https://badges.renovateapi.com/packages/npm/date-fns/2.24.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/date-fns/2.24.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/date-fns/2.24.0/compatibility-slim/2.23.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/date-fns/2.24.0/confidence-slim/2.23.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>date-fns/date-fns</summary> ### [`v2.24.0`](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2240---2021-09-17) [Compare Source](https://github.com/date-fns/date-fns/compare/v2.23.0...v2.24.0) Kudos to [Sasha Koss](http://github.com/kossnocorp), [Lucas Silva](http://github.com/LucasHFS), [Jan Ziemba](http://github.com/janziemba), [Anastasia Kobzar](http://github.com/rikkalo), [Deepak Gupta](http://github.com/Mr-DG-Wick), [Jonas L](http://github.com/jooola), [Kentaro Suzuki](http://github.com/kentaro84207), [Koussay Haj Kacem](http://github.com/essana3), [fturmel](http://github.com/fturmel), [Tan75](http://github.com/tan75) and [Adriaan Callaerts](http://github.com/call-a3) for working on the release. ##### Fixed - [Fixed an edge case in the Slovak locale caused by unescaped character.](https://github.com/date-fns/date-fns/pull/2540) ([#&#8203;2083](https://github.com/date-fns/date-fns/issues/2083)) ##### Changed - [Used `1` instead of `ein` for German `formatDuration` to make it consistent with other locales and formats.](https://github.com/date-fns/date-fns/pull/2576) ([#&#8203;2505](https://github.com/date-fns/date-fns/issues/2505)) - [Made Norwegian `formatDuration` consistent with other locales by using numeric representation instead of written.](https://github.com/date-fns/date-fns/pull/2631) ([#&#8203;2469](https://github.com/date-fns/date-fns/issues/2469)) - [Use the word "sekunda" instead of "vteřina" for second in the Czech locale.](https://github.com/date-fns/date-fns/pull/2577) - [Made Flemish short date format corresponds to the Flemish government.](https://github.com/date-fns/date-fns/pull/2535) ##### Added - [Added `roundingMethod` option to `differenceInHours`, `differenceInMinutes`, `differenceInQuarters`, `differenceInSeconds` and `differenceInWeeks` with `trunc` as the default method.](https://github.com/date-fns/date-fns/pull/2571) ([#&#8203;2555](https://github.com/date-fns/date-fns/issues/2555)) - [Added new functions: `previousDay`, `previousMonday`, `previousTuesday`, `previousWednesday`, `previousThursday`, `previousFriday`, `previousSaturday` and `previousSunday`.](https://github.com/date-fns/date-fns/pull/2522) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
2 parents fb9237e + e192ef8 commit b070d14

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@sentry/integrations": "6.12.0",
4242
"chart.js": "3.5.1",
4343
"copy-text-to-clipboard": "3.0.1",
44-
"date-fns": "2.23.0",
44+
"date-fns": "2.24.0",
4545
"fastboot-app-server": "3.0.0",
4646
"highlight.js": "11.2.0",
4747
"morgan": "1.10.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5822,10 +5822,10 @@ date-and-time@^1.0.0:
58225822
resolved "https://registry.yarnpkg.com/date-and-time/-/date-and-time-1.0.1.tgz#4959b7faf1ec5873e59d926d4528b9223a808a57"
58235823
integrity sha512-7u+uNfnjWkX+YFQfivvW24TjaJG6ahvTrfw1auq7KlC7osuGcZBIWGBvB9UcENjH6JnLVhMqlRripk1dSHjAUA==
58245824

5825-
date-fns@2.23.0, date-fns@^2.23.0:
5826-
version "2.23.0"
5827-
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.23.0.tgz#4e886c941659af0cf7b30fafdd1eaa37e88788a9"
5828-
integrity sha512-5ycpauovVyAk0kXNZz6ZoB9AYMZB4DObse7P3BPWmyEjXNORTI8EJ6X0uaSAq4sCHzM1uajzrkr6HnsLQpxGXA==
5825+
date-fns@2.24.0, date-fns@^2.23.0:
5826+
version "2.24.0"
5827+
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.24.0.tgz#7d86dc0d93c87b76b63d213b4413337cfd1c105d"
5828+
integrity sha512-6ujwvwgPID6zbI0o7UbURi2vlLDR9uP26+tW6Lg+Ji3w7dd0i3DOcjcClLjLPranT60SSEFBwdSyYwn/ZkPIuw==
58295829

58305830
date-time@^2.1.0:
58315831
version "2.1.0"

0 commit comments

Comments
 (0)