date-fns/date-fns
### [`v2.29.1`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2291---2022-07-22)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.29.0...v2.29.1)
Thanks to [@fturmel](https://togithub.com/fturmel) for working on the release.
##### Fixed
- [Fixed TypeScript and flow types for daysInYear constant.](https://togithub.com/date-fns/date-fns/pull/3125)
### [`v2.29.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2290---2022-07-22)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.28.0...v2.29.0)
On this release worked [@tan75](https://togithub.com/tan75), [@kossnocorp](https://togithub.com/kossnocorp), [@nopears](https://togithub.com/nopears), [@Balastrong](https://togithub.com/Balastrong), [@cpapazoglou](https://togithub.com/cpapazoglou), [@dovca](https://togithub.com/dovca), [@aliasgar55](https://togithub.com/aliasgar55), [@tomchentw](https://togithub.com/tomchentw), [@JuanM04](https://togithub.com/JuanM04), [@alexandresaura](https://togithub.com/alexandresaura), [@fturmel](https://togithub.com/fturmel), [@aezell](https://togithub.com/aezell), [@andersravn](https://togithub.com/andersravn), [@TiagoPortfolio](https://togithub.com/TiagoPortfolio), [@SukkaW](https://togithub.com/SukkaW), [@Zebreus](https://togithub.com/Zebreus), [@aviskarkc10](https://togithub.com/aviskarkc10), [@maic66](https://togithub.com/maic66), [@a-korzun](https://togithub.com/a-korzun), [@Mejans](https://togithub.com/Mejans), [@davidspiess](https://togithub.com/davidspiess), [@alexgul1](https://togithub.com/alexgul1), [@matroskin062](https://togithub.com/matroskin062), [@undecaf](https://togithub.com/undecaf), [@mprovenc](https://togithub.com/mprovenc), [@jooola](https://togithub.com/jooola) and [@leshakoss](https://togithub.com/leshakoss).
##### Added
- [Added `intlFormatDistance` function\`.](https://togithub.com/date-fns/date-fns/pull/2173)
- [Added `setDefaultOptions` and `getDefaultOptions` functions that allow you to set default default locale, `weekStartsOn` and `firstWeekContainsDate`.](https://togithub.com/date-fns/date-fns/pull/3069)
- [Added `roundingMethod` option to `roundToNearestMinutes`.](https://togithub.com/date-fns/date-fns/pull/3091)
- [Added Swiss Italian locale (`it-CH`).](https://togithub.com/date-fns/date-fns/pull/2886)
- [Added Occitan (`oc`) locale.](https://togithub.com/date-fns/date-fns/pull/2106) ([#2061](https://togithub.com/date-fns/date-fns/issues/2061))
- [Added Belarusian Classic (`be-tarask`) locale.](https://togithub.com/date-fns/date-fns/pull/3115)
##### Fixed
- [Fixed Azerbaijani (`az`) locale for `formatDistance`.](https://togithub.com/date-fns/date-fns/pull/2924)
- [Fixed Czech (`cs`) locale for `parse`.](https://togithub.com/date-fns/date-fns/pull/3059)
- [Fixed TypeScript types for constants.](https://togithub.com/date-fns/date-fns/pull/2941)
- [Fixed long formatters in the South African English locale (`en-ZA`).](https://togithub.com/date-fns/date-fns/pull/3014)
- [Fixed a typo in the Icelandic locale (`is`) for `format`.](https://togithub.com/date-fns/date-fns/pull/2974)
- [Fixed weekday format for `formatRelative` in the Portuguese locale (`pt`).](https://togithub.com/date-fns/date-fns/pull/2992)
- [Fixed `intervalToDuration` being off by 1 day sometimes.](https://togithub.com/date-fns/date-fns/pull/2616)
- [Fixed ordinal number formatting in Italian locale (`it`).](https://togithub.com/date-fns/date-fns/pull/1617)
- [Fixed issue parsing months in Croatian (`hr`), Georgian (`ka`) and Serbian (`sr` and `sr-Latn`) locales.](https://togithub.com/date-fns/date-fns/pull/2898)
##### Changed
- [Replaced `git.io` links with full URLs in error messages.](https://togithub.com/date-fns/date-fns/pull/3021)
- [*Internal*: removed "v2.0.0 breaking changes" section from individual function docs](https://togithub.com/date-fns/date-fns/pull/2905)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.28.0
->2.29.1
Release Notes
date-fns/date-fns
### [`v2.29.1`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2291---2022-07-22) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.29.0...v2.29.1) Thanks to [@fturmel](https://togithub.com/fturmel) for working on the release. ##### Fixed - [Fixed TypeScript and flow types for daysInYear constant.](https://togithub.com/date-fns/date-fns/pull/3125) ### [`v2.29.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2290---2022-07-22) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.28.0...v2.29.0) On this release worked [@tan75](https://togithub.com/tan75), [@kossnocorp](https://togithub.com/kossnocorp), [@nopears](https://togithub.com/nopears), [@Balastrong](https://togithub.com/Balastrong), [@cpapazoglou](https://togithub.com/cpapazoglou), [@dovca](https://togithub.com/dovca), [@aliasgar55](https://togithub.com/aliasgar55), [@tomchentw](https://togithub.com/tomchentw), [@JuanM04](https://togithub.com/JuanM04), [@alexandresaura](https://togithub.com/alexandresaura), [@fturmel](https://togithub.com/fturmel), [@aezell](https://togithub.com/aezell), [@andersravn](https://togithub.com/andersravn), [@TiagoPortfolio](https://togithub.com/TiagoPortfolio), [@SukkaW](https://togithub.com/SukkaW), [@Zebreus](https://togithub.com/Zebreus), [@aviskarkc10](https://togithub.com/aviskarkc10), [@maic66](https://togithub.com/maic66), [@a-korzun](https://togithub.com/a-korzun), [@Mejans](https://togithub.com/Mejans), [@davidspiess](https://togithub.com/davidspiess), [@alexgul1](https://togithub.com/alexgul1), [@matroskin062](https://togithub.com/matroskin062), [@undecaf](https://togithub.com/undecaf), [@mprovenc](https://togithub.com/mprovenc), [@jooola](https://togithub.com/jooola) and [@leshakoss](https://togithub.com/leshakoss). ##### Added - [Added `intlFormatDistance` function\`.](https://togithub.com/date-fns/date-fns/pull/2173) - [Added `setDefaultOptions` and `getDefaultOptions` functions that allow you to set default default locale, `weekStartsOn` and `firstWeekContainsDate`.](https://togithub.com/date-fns/date-fns/pull/3069) - [Added `roundingMethod` option to `roundToNearestMinutes`.](https://togithub.com/date-fns/date-fns/pull/3091) - [Added Swiss Italian locale (`it-CH`).](https://togithub.com/date-fns/date-fns/pull/2886) - [Added Occitan (`oc`) locale.](https://togithub.com/date-fns/date-fns/pull/2106) ([#2061](https://togithub.com/date-fns/date-fns/issues/2061)) - [Added Belarusian Classic (`be-tarask`) locale.](https://togithub.com/date-fns/date-fns/pull/3115) ##### Fixed - [Fixed Azerbaijani (`az`) locale for `formatDistance`.](https://togithub.com/date-fns/date-fns/pull/2924) - [Fixed Czech (`cs`) locale for `parse`.](https://togithub.com/date-fns/date-fns/pull/3059) - [Fixed TypeScript types for constants.](https://togithub.com/date-fns/date-fns/pull/2941) - [Fixed long formatters in the South African English locale (`en-ZA`).](https://togithub.com/date-fns/date-fns/pull/3014) - [Fixed a typo in the Icelandic locale (`is`) for `format`.](https://togithub.com/date-fns/date-fns/pull/2974) - [Fixed weekday format for `formatRelative` in the Portuguese locale (`pt`).](https://togithub.com/date-fns/date-fns/pull/2992) - [Fixed `intervalToDuration` being off by 1 day sometimes.](https://togithub.com/date-fns/date-fns/pull/2616) - [Fixed ordinal number formatting in Italian locale (`it`).](https://togithub.com/date-fns/date-fns/pull/1617) - [Fixed issue parsing months in Croatian (`hr`), Georgian (`ka`) and Serbian (`sr` and `sr-Latn`) locales.](https://togithub.com/date-fns/date-fns/pull/2898) ##### Changed - [Replaced `git.io` links with full URLs in error messages.](https://togithub.com/date-fns/date-fns/pull/3021) - [*Internal*: removed "v2.0.0 breaking changes" section from individual function docs](https://togithub.com/date-fns/date-fns/pull/2905)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» 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 Mend Renovate. View repository job log here.