date-fns/date-fns
### [`v2.23.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2230---2021-07-23)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.22.1...v2.23.0)
Thanks to [Liam Tait](http://github.com/Liam-Tait), [fturmel](http://github.com/fturmel), [Takuya Uehara](http://github.com/indigolain), [Branislav Lazic](http://github.com/BranislavLazic), [Seyyed Morteza Moosavi](http://github.com/smmoosavi), [Felipe Armoni](http://github.com/komyg), [Sasha Koss](http://github.com/kossnocorp), [Michael Mok](http://github.com/pmmmwh), [Tan75](http://github.com/tan75) and [Maxim Topciu](http://github.com/maximtop) for working on the release.
##### Changed
- [Improved `nextDay` performance by roughly 50%.](https://togithub.com/date-fns/date-fns/pull/2524)
- [Added more ordinal formatting to the Japanese locale.](https://togithub.com/date-fns/date-fns/pull/2471)
##### Added
- [Added a new `clamp` function that allows to bound a date to an interval.](https://togithub.com/date-fns/date-fns/pull/2498)
- [Added Bosnian locale (bs).](https://togithub.com/date-fns/date-fns/pull/2495)
- [Allowed passing `undefined` in the duration to add and sub functions.](https://togithub.com/date-fns/date-fns/pull/2515)
### [`v2.22.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2221---2021-05-28)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.22.0...v2.22.1)
Thanks to [Sasha Koss](http://github.com/kossnocorp) for working on the release.
##### Fixed
- Fixed constant typings. ([#2491](https://togithub.com/date-fns/date-fns/issues/2491))
### [`v2.22.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2220---2021-05-28)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.21.3...v2.22.0)
On this release worked [Sasha Koss](http://github.com/kossnocorp), [Lucas Silva](http://github.com/LucasHFS), [Lay](http://github.com/brownsugar), [jwbth](http://github.com/jwbth), [fturmel](http://github.com/fturmel), [Tan75](http://github.com/tan75) and [Anastasia Kobzar](http://github.com/rikkalo).
##### Fixed
- [Fixed Taiwanese locale to use traditional Chinese and removed unnecessary spaces.](https://togithub.com/date-fns/date-fns/pull/2436)
- [Fixed Russian locale to use correct long formats.](https://togithub.com/date-fns/date-fns/pull/2478)
##### Added
- [Added 18 new conversion functions](https://togithub.com/date-fns/date-fns/pull/2433):
- `daysToWeeks`
- `hoursToMilliseconds`
- `hoursToMinutes`
- `hoursToSeconds`
- `millisecondsToHours`
- `millisecondsToMinutes`
- `millisecondsToSeconds`
- `minutesToHours`
- `minutesToMilliseconds`
- `minutesToSeconds`
- `monthsToQuarters`
- `monthsToYears`
- `quartersToMonths`
- `quartersToYears`
- `secondsToHours`
- `secondsToMilliseconds`
- `secondsToMinutes`
- `weeksToDays`
- `yearsToMonths`
- `yearsToQuarters`
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.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
2.21.3
->2.23.0
Release Notes
date-fns/date-fns
### [`v2.23.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2230---2021-07-23) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.22.1...v2.23.0) Thanks to [Liam Tait](http://github.com/Liam-Tait), [fturmel](http://github.com/fturmel), [Takuya Uehara](http://github.com/indigolain), [Branislav Lazic](http://github.com/BranislavLazic), [Seyyed Morteza Moosavi](http://github.com/smmoosavi), [Felipe Armoni](http://github.com/komyg), [Sasha Koss](http://github.com/kossnocorp), [Michael Mok](http://github.com/pmmmwh), [Tan75](http://github.com/tan75) and [Maxim Topciu](http://github.com/maximtop) for working on the release. ##### Changed - [Improved `nextDay` performance by roughly 50%.](https://togithub.com/date-fns/date-fns/pull/2524) - [Added more ordinal formatting to the Japanese locale.](https://togithub.com/date-fns/date-fns/pull/2471) ##### Added - [Added a new `clamp` function that allows to bound a date to an interval.](https://togithub.com/date-fns/date-fns/pull/2498) - [Added Bosnian locale (bs).](https://togithub.com/date-fns/date-fns/pull/2495) - [Allowed passing `undefined` in the duration to add and sub functions.](https://togithub.com/date-fns/date-fns/pull/2515) ### [`v2.22.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2221---2021-05-28) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.22.0...v2.22.1) Thanks to [Sasha Koss](http://github.com/kossnocorp) for working on the release. ##### Fixed - Fixed constant typings. ([#2491](https://togithub.com/date-fns/date-fns/issues/2491)) ### [`v2.22.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2220---2021-05-28) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.21.3...v2.22.0) On this release worked [Sasha Koss](http://github.com/kossnocorp), [Lucas Silva](http://github.com/LucasHFS), [Lay](http://github.com/brownsugar), [jwbth](http://github.com/jwbth), [fturmel](http://github.com/fturmel), [Tan75](http://github.com/tan75) and [Anastasia Kobzar](http://github.com/rikkalo). ##### Fixed - [Fixed Taiwanese locale to use traditional Chinese and removed unnecessary spaces.](https://togithub.com/date-fns/date-fns/pull/2436) - [Fixed Russian locale to use correct long formats.](https://togithub.com/date-fns/date-fns/pull/2478) ##### Added - [Added 18 new conversion functions](https://togithub.com/date-fns/date-fns/pull/2433): - `daysToWeeks` - `hoursToMilliseconds` - `hoursToMinutes` - `hoursToSeconds` - `millisecondsToHours` - `millisecondsToMinutes` - `millisecondsToSeconds` - `minutesToHours` - `minutesToMilliseconds` - `minutesToSeconds` - `monthsToQuarters` - `monthsToYears` - `quartersToMonths` - `quartersToYears` - `secondsToHours` - `secondsToMilliseconds` - `secondsToMinutes` - `weeksToDays` - `yearsToMonths` - `yearsToQuarters`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.
This PR has been generated by WhiteSource Renovate. View repository job log here.