date-fns/date-fns
### [`v2.21.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2211---2021-04-15)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.21.0...v2.21.1)
Thanks to [Sasha Koss](http://github.com/kossnocorp) for working on the release.
##### Fixed
- [Fixed a breaking change introduced by using modern default argument value syntax (see https://github.com/Hacker0x01/react-datepicker/issues/2870).](https://togithub.com/date-fns/date-fns/pull/2423)
### [`v2.21.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2210---2021-04-14)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.3...v2.21.0)
This release is brought to you by [Aleksei Korzun](http://github.com/a-korzun), [Tan75](http://github.com/tan75), [Rubens Mariuzzo](http://github.com/rmariuzzo), [Christoph Stenglein](http://github.com/cstenglein) and [Clément Tamisier](http://github.com/ctamisier).
##### Fixed
- [Made `formatDistanceStrict` return `12 months` instead of `1 year` when `unit: 'month'`.](https://togithub.com/date-fns/date-fns/pull/2411)
##### Added
- [Added Haitian Creole (`ht`) locale.](https://togithub.com/date-fns/date-fns/pull/2396)
- [Added Austrian German (`de-AT`) locale.](https://togithub.com/date-fns/date-fns/pull/2362)
### [`v2.20.3`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2203---2021-04-13)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.2...v2.20.3)
Kudos to [fturmel](http://github.com/fturmel) for working on the release.
##### Fixed
- [Fixed broken tree-shaking caused by missing links to corresponding ESM.](https://togithub.com/date-fns/date-fns/pull/2339) ([#2207](https://togithub.com/date-fns/date-fns/issues/2207))
### [`v2.20.2`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2202---2021-04-12)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.1...v2.20.2)
Kudos to [Maxim Topciu](http://github.com/maximtop) for working on the release.
##### Fixed
- [Fixed IE11 incompatibility caused by the usage of spread syntax.](https://togithub.com/date-fns/date-fns/pull/2407) ([#2408](https://togithub.com/date-fns/date-fns/issues/2408))
### [`v2.20.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2201---2021-04-09)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.0...v2.20.1)
This release is brought to you by [Sasha Koss](http://github.com/kossnocorp) and [Tan75](http://github.com/tan75).
##### Fixed
- Fixed `isDate` Flow typings that we broke in `v2.20.0`.
### [`v2.20.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2200---2021-04-08)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.19.0...v2.20.0)
This release is brought to you by [Sasha Koss](http://github.com/kossnocorp), [Maxim Topciu](http://github.com/maximtop), [tu4mo](http://github.com/tu4mo), [Tan75](http://github.com/tan75), [Ardit Dine](http://github.com/arditdine), [Carl Rosell](http://github.com/CarlRosell), [Roman Mahotskyi](http://github.com/enheit), [Mateusz Krzak](http://github.com/mateuszkrzak), [fgottschalk](http://github.com/fgottschalk), [Anastasia Kobzar](http://github.com/rikkalo), [Bilguun Ochirbat](http://github.com/bilguun0203), [Lesha Koss](http://github.com/leshakoss), [YuLe](http://github.com/yuler) and [guyroberts21](http://github.com/guyroberts21).
##### Fixed
- [Made `formatDistanceStrict` and `formatDistanceToNowStrict` always return `1 year` instead of `12 months`.](https://togithub.com/date-fns/date-fns/pull/2391) ([#2388](https://togithub.com/date-fns/date-fns/issues/2388))
- Fixed `nextDay`, `nextMonday` and `nextTuesday` missing in exports and type definitions. ([#2325](https://togithub.com/date-fns/date-fns/issues/2325))
- [Fixed a DST bug in `formatDistanceStrict`.](https://togithub.com/date-fns/date-fns/pull/2329) ([#2307](https://togithub.com/date-fns/date-fns/issues/2307))
##### Added
- [Added new `eachMinuteOfInterval` function.](https://togithub.com/date-fns/date-fns/pull/2382)
- [Added Albanian (`sq`) locale](https://togithub.com/date-fns/date-fns/pull/2290)
- [Added Mongolian (`mn`) locale](https://togithub.com/date-fns/date-fns/pull/1961)
- [Added `nextWednesday`, `nextThursday`, `nextFriday`, `nextSaturday` and `nextSunday`.](https://togithub.com/date-fns/date-fns/pull/2291)
### [`v2.19.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2190---2021-03-05)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.18.0...v2.19.0)
On this release worked [Tan75](http://github.com/tan75).
##### Fixed
- [Assigned the correct `firstWeekContainsDate` value (`4`) for the French locale.](https://togithub.com/date-fns/date-fns/pull/2273) ([#2148](https://togithub.com/date-fns/date-fns/issues/2148))
- [Fixed torsdag abbreviation in the Swedish locale.](https://togithub.com/date-fns/date-fns/pull/2220)
- [Fixed a bug in `differenceInMonths` and `intervalToDuration` that occurs when dealing with the 28th of February.](https://togithub.com/date-fns/date-fns/pull/2256) ([#2255](https://togithub.com/date-fns/date-fns/issues/2255))
##### Added
- [Added new functions: `nextDay`, `nextMonday` and `nextTuesday` that allows getting the next day of the week, Monday or Tuesday respectively.](https://togithub.com/date-fns/date-fns/pull/2214)
### [`v2.18.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2180---2021-03-01)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.17.0...v2.18.0)
Thanks to [Tan75](http://github.com/tan75) and [Lesha Koss](http://github.com/leshakoss).
##### Fixed
- [Fixed documentation missing for `intlFormat`.](https://togithub.com/date-fns/date-fns/pull/2259) ([#2258](https://togithub.com/date-fns/date-fns/issues/2258))
- [Fixed date formats in the Latvian locale.](https://togithub.com/date-fns/date-fns/pull/2205) ([#2202](https://togithub.com/date-fns/date-fns/issues/2202))
##### Added
- [Added support of positive and negative offsets in `parseJSON`.](https://togithub.com/date-fns/date-fns/pull/2200) ([#2149](https://togithub.com/date-fns/date-fns/issues/2149))
### [`v2.17.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2170---2021-02-05)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.16.1...v2.17.0)
Kudos to [@shaykav](https://togithub.com/date-fns/date-fns/pull/1952), [@davidgape89](https://togithub.com/davidgape89), [@rikkalo](https://togithub.com/rikkalo), [@tan75](https://togithub.com/tan75), [@talgautb](https://togithub.com/talgautb), [@owenl131](https://togithub.com/owenl131), [@kylesezhi](https://togithub.com/kylesezhi), [@inigoiparragirre](https://togithub.com/inigoiparragirre), [@gius](https://togithub.com/gius), [@Endeauvirr](https://togithub.com/Endeauvirr) and [@frankyston](https://togithub.com/frankyston).
##### Fixed
- [Fixed Russian locale parsing issue](https://togithub.com/date-fns/date-fns/pull/1950).
- [Fixed `differenceInMonths` for edge cases, such as the end of February dates](https://togithub.com/date-fns/date-fns/pull/2185).
- [Fixed suffixes for the Kazakh locale](https://togithub.com/date-fns/date-fns/pull/2010).
- [Fixed `formatDuration` week translation in `pt` and `pt-BR` locales](https://togithub.com/date-fns/date-fns/pull/2125).
- [Made Japanese locale to use the correct value for the start of the week](https://togithub.com/date-fns/date-fns/pull/2099).
- [Adjusted date formats in the Basque locale](https://togithub.com/date-fns/date-fns/pull/2080).
- [Fixed the short and medium date formats in the Czech locale](https://togithub.com/date-fns/date-fns/pull/2111).
- [Adjusted the Polish translations of `formatDistance`](https://togithub.com/date-fns/date-fns/pull/2187).
- [Fixed the week's abbreviations in the Brazilian Portuguese](https://togithub.com/date-fns/date-fns/pull/2170).
##### Added
- [Added `intlFormat`](https://togithub.com/date-fns/date-fns/pull/2172) a lightweight formatting function that uses [Intl API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl). Eventually, it will become the default formatting function, so it's highly recommended for new code.
- [Added `en-ZA` locale](https://togithub.com/date-fns/date-fns/pull/1952).
- [Added an ability to format lowercase am/pm with `aaa` and `bbb` tokens](https://togithub.com/date-fns/date-fns/pull/2016).
- [Added ordinal formatting for Japanese year values](https://togithub.com/date-fns/date-fns/pull/2177/files).
### [`v2.16.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2161---2020-07-31)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.16.0...v2.16.1)
Kudos to [@aleksaps](https://togithub.com/aleksaps), [@leedriscoll](https://togithub.com/leedriscoll) and [@BanForFun](https://togithub.com/BanForFun) for pull-requests!
##### Fixed
- [Fixed a typo in Scottish Gaelic (gd) locale](https://togithub.com/date-fns/date-fns/pull/1925).
- [Fixed typos in Serbian Latin locale](https://togithub.com/date-fns/date-fns/pull/1928).
- [Fixed greek grammar for Saturday on `formatRelative`](https://togithub.com/date-fns/date-fns/pull/1930).
- Removed locale snapshots from the npm package making it lighter.
### [`v2.16.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2160---2020-08-27)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.15.0...v2.16.0)
Kudos to [@jvpelt](https://togithub.com/jvpelt), [@piotrl](https://togithub.com/piotrl), [@yotamofek](https://togithub.com/yotamofek), [@dwaxweiler](https://togithub.com/dwaxweiler), [@leedriscoll](https://togithub.com/leedriscoll) and [@bradevans](https://togithub.com/bradevans) for working on the release. Also thanks to [@PascalHonegger](https://togithub.com/PascalHonegger), [@pickfire](https://togithub.com/pickfire), [@TheJaredWilcurt](https://togithub.com/TheJaredWilcurt), [@SidKH](https://togithub.com/SidKH) and [@nfantone](https://togithub.com/nfantone) for improving the documentation.
##### Fixed
- [Added correct translations for Welsh `1 minute` and `2 days`](https://togithub.com/date-fns/date-fns/pull/1903).
- [Fixed `formatRFC3339` formatting timezone offset with minutes](https://togithub.com/date-fns/date-fns/pull/1890).
- [Added missing locale type definition for `formatDuration`](https://togithub.com/date-fns/date-fns/pull/1881)
- [Fixed Scottish Gaelic locale issues](https://togithub.com/date-fns/date-fns/pull/1914).
##### Changed
- [Used shorter Hebrew alternative for "about"](https://togithub.com/date-fns/date-fns/pull/1893).
- [Improved string arguments warning after upgrading to v2](https://togithub.com/date-fns/date-fns/pull/1910).
##### Added
- [Added Luxembourgish (lb) locale](https://togithub.com/date-fns/date-fns/pull/1900).
### [`v2.15.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2150---2020-07-17)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.14.0...v2.15.0)
Thanks to [@belgamo](https://togithub.com/belgamo), [@Matsuuu](https://togithub.com/Matsuuu), [@Imballinst](https://togithub.com/Imballinst), [@arsnyder16](https://togithub.com/arsnyder16), [@pankajupadhyay29](https://togithub.com/pankajupadhyay29), [@DCBN](https://togithub.com/DCBN), [@leedriscoll](https://togithub.com/leedriscoll), [@gottsohn](https://togithub.com/gottsohn), [@mukuljainx](https://togithub.com/mukuljainx) and [@dtriana](https://togithub.com/dtriana) for working on the release. Also kudos to [@KidkArolis](https://togithub.com/KidkArolis), [@imgx64](https://togithub.com/imgx64), [@fjc0k](https://togithub.com/fjc0k), [@wmonk](https://togithub.com/wmonk), [@djD-REK](https://togithub.com/djD-REK), [@dandv](https://togithub.com/dandv), [@psimk](https://togithub.com/psimk) and [@brimworks](https://togithub.com/brimworks) for improving the documentation.
##### Fixed
- [Fixed behavior of `addBusinessDays` when input date is a weekend day](https://togithub.com/date-fns/date-fns/pull/1790).
- [Fixed `parseISO` not returning `Invalid Date` on incorrect string when there are spaces in it](https://togithub.com/date-fns/date-fns/pull/1791).
- [Fixed `es` round-tripping dates with Wednesday](https://togithub.com/date-fns/date-fns/pull/1792).
- [Fixed round-trip bug with `d`/`EEEE` ordering in tokens like `PPPPP`](https://togithub.com/date-fns/date-fns/pull/1795).
- [Fixed issues with parsing values in Japanese](https://togithub.com/date-fns/date-fns/pull/1807).
- [Fixed Hungarian breaking IE11](https://togithub.com/date-fns/date-fns/pull/1842).
- [Fixed Spanish accents in Saturday and Wednesday](https://togithub.com/date-fns/date-fns/pull/1872).
##### Changed
- [Improved the message of protected tokens error](https://togithub.com/date-fns/date-fns/pull/1641).
##### Added
- [Added Swiss-French `fr-CH` locale](https://togithub.com/date-fns/date-fns/pull/1809).
- [Added Flemish `nl-BE` locale](https://togithub.com/date-fns/date-fns/pull/1812).
- [Added Scottish Gaelic `gd` locale](https://togithub.com/date-fns/date-fns/pull/1832).
- [Added New Zealand English `en-NZ` locale](https://togithub.com/date-fns/date-fns/pull/1835).
- [Added `isMatch` function](https://togithub.com/date-fns/date-fns/pull/1868).
Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: 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.14.0
->2.21.1
Release Notes
date-fns/date-fns
### [`v2.21.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2211---2021-04-15) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.21.0...v2.21.1) Thanks to [Sasha Koss](http://github.com/kossnocorp) for working on the release. ##### Fixed - [Fixed a breaking change introduced by using modern default argument value syntax (see https://github.com/Hacker0x01/react-datepicker/issues/2870).](https://togithub.com/date-fns/date-fns/pull/2423) ### [`v2.21.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2210---2021-04-14) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.3...v2.21.0) This release is brought to you by [Aleksei Korzun](http://github.com/a-korzun), [Tan75](http://github.com/tan75), [Rubens Mariuzzo](http://github.com/rmariuzzo), [Christoph Stenglein](http://github.com/cstenglein) and [Clément Tamisier](http://github.com/ctamisier). ##### Fixed - [Made `formatDistanceStrict` return `12 months` instead of `1 year` when `unit: 'month'`.](https://togithub.com/date-fns/date-fns/pull/2411) ##### Added - [Added Haitian Creole (`ht`) locale.](https://togithub.com/date-fns/date-fns/pull/2396) - [Added Austrian German (`de-AT`) locale.](https://togithub.com/date-fns/date-fns/pull/2362) ### [`v2.20.3`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2203---2021-04-13) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.2...v2.20.3) Kudos to [fturmel](http://github.com/fturmel) for working on the release. ##### Fixed - [Fixed broken tree-shaking caused by missing links to corresponding ESM.](https://togithub.com/date-fns/date-fns/pull/2339) ([#2207](https://togithub.com/date-fns/date-fns/issues/2207)) ### [`v2.20.2`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2202---2021-04-12) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.1...v2.20.2) Kudos to [Maxim Topciu](http://github.com/maximtop) for working on the release. ##### Fixed - [Fixed IE11 incompatibility caused by the usage of spread syntax.](https://togithub.com/date-fns/date-fns/pull/2407) ([#2408](https://togithub.com/date-fns/date-fns/issues/2408)) ### [`v2.20.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2201---2021-04-09) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.20.0...v2.20.1) This release is brought to you by [Sasha Koss](http://github.com/kossnocorp) and [Tan75](http://github.com/tan75). ##### Fixed - Fixed `isDate` Flow typings that we broke in `v2.20.0`. ### [`v2.20.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2200---2021-04-08) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.19.0...v2.20.0) This release is brought to you by [Sasha Koss](http://github.com/kossnocorp), [Maxim Topciu](http://github.com/maximtop), [tu4mo](http://github.com/tu4mo), [Tan75](http://github.com/tan75), [Ardit Dine](http://github.com/arditdine), [Carl Rosell](http://github.com/CarlRosell), [Roman Mahotskyi](http://github.com/enheit), [Mateusz Krzak](http://github.com/mateuszkrzak), [fgottschalk](http://github.com/fgottschalk), [Anastasia Kobzar](http://github.com/rikkalo), [Bilguun Ochirbat](http://github.com/bilguun0203), [Lesha Koss](http://github.com/leshakoss), [YuLe](http://github.com/yuler) and [guyroberts21](http://github.com/guyroberts21). ##### Fixed - [Made `formatDistanceStrict` and `formatDistanceToNowStrict` always return `1 year` instead of `12 months`.](https://togithub.com/date-fns/date-fns/pull/2391) ([#2388](https://togithub.com/date-fns/date-fns/issues/2388)) - Fixed `nextDay`, `nextMonday` and `nextTuesday` missing in exports and type definitions. ([#2325](https://togithub.com/date-fns/date-fns/issues/2325)) - [Fixed a DST bug in `formatDistanceStrict`.](https://togithub.com/date-fns/date-fns/pull/2329) ([#2307](https://togithub.com/date-fns/date-fns/issues/2307)) ##### Added - [Added new `eachMinuteOfInterval` function.](https://togithub.com/date-fns/date-fns/pull/2382) - [Added Albanian (`sq`) locale](https://togithub.com/date-fns/date-fns/pull/2290) - [Added Mongolian (`mn`) locale](https://togithub.com/date-fns/date-fns/pull/1961) - [Added `nextWednesday`, `nextThursday`, `nextFriday`, `nextSaturday` and `nextSunday`.](https://togithub.com/date-fns/date-fns/pull/2291) ### [`v2.19.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2190---2021-03-05) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.18.0...v2.19.0) On this release worked [Tan75](http://github.com/tan75). ##### Fixed - [Assigned the correct `firstWeekContainsDate` value (`4`) for the French locale.](https://togithub.com/date-fns/date-fns/pull/2273) ([#2148](https://togithub.com/date-fns/date-fns/issues/2148)) - [Fixed torsdag abbreviation in the Swedish locale.](https://togithub.com/date-fns/date-fns/pull/2220) - [Fixed a bug in `differenceInMonths` and `intervalToDuration` that occurs when dealing with the 28th of February.](https://togithub.com/date-fns/date-fns/pull/2256) ([#2255](https://togithub.com/date-fns/date-fns/issues/2255)) ##### Added - [Added new functions: `nextDay`, `nextMonday` and `nextTuesday` that allows getting the next day of the week, Monday or Tuesday respectively.](https://togithub.com/date-fns/date-fns/pull/2214) ### [`v2.18.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#v2180---2021-03-01) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.17.0...v2.18.0) Thanks to [Tan75](http://github.com/tan75) and [Lesha Koss](http://github.com/leshakoss). ##### Fixed - [Fixed documentation missing for `intlFormat`.](https://togithub.com/date-fns/date-fns/pull/2259) ([#2258](https://togithub.com/date-fns/date-fns/issues/2258)) - [Fixed date formats in the Latvian locale.](https://togithub.com/date-fns/date-fns/pull/2205) ([#2202](https://togithub.com/date-fns/date-fns/issues/2202)) ##### Added - [Added support of positive and negative offsets in `parseJSON`.](https://togithub.com/date-fns/date-fns/pull/2200) ([#2149](https://togithub.com/date-fns/date-fns/issues/2149)) ### [`v2.17.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2170---2021-02-05) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.16.1...v2.17.0) Kudos to [@shaykav](https://togithub.com/date-fns/date-fns/pull/1952), [@davidgape89](https://togithub.com/davidgape89), [@rikkalo](https://togithub.com/rikkalo), [@tan75](https://togithub.com/tan75), [@talgautb](https://togithub.com/talgautb), [@owenl131](https://togithub.com/owenl131), [@kylesezhi](https://togithub.com/kylesezhi), [@inigoiparragirre](https://togithub.com/inigoiparragirre), [@gius](https://togithub.com/gius), [@Endeauvirr](https://togithub.com/Endeauvirr) and [@frankyston](https://togithub.com/frankyston). ##### Fixed - [Fixed Russian locale parsing issue](https://togithub.com/date-fns/date-fns/pull/1950). - [Fixed `differenceInMonths` for edge cases, such as the end of February dates](https://togithub.com/date-fns/date-fns/pull/2185). - [Fixed suffixes for the Kazakh locale](https://togithub.com/date-fns/date-fns/pull/2010). - [Fixed `formatDuration` week translation in `pt` and `pt-BR` locales](https://togithub.com/date-fns/date-fns/pull/2125). - [Made Japanese locale to use the correct value for the start of the week](https://togithub.com/date-fns/date-fns/pull/2099). - [Adjusted date formats in the Basque locale](https://togithub.com/date-fns/date-fns/pull/2080). - [Fixed the short and medium date formats in the Czech locale](https://togithub.com/date-fns/date-fns/pull/2111). - [Adjusted the Polish translations of `formatDistance`](https://togithub.com/date-fns/date-fns/pull/2187). - [Fixed the week's abbreviations in the Brazilian Portuguese](https://togithub.com/date-fns/date-fns/pull/2170). ##### Added - [Added `intlFormat`](https://togithub.com/date-fns/date-fns/pull/2172) a lightweight formatting function that uses [Intl API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl). Eventually, it will become the default formatting function, so it's highly recommended for new code. - [Added `en-ZA` locale](https://togithub.com/date-fns/date-fns/pull/1952). - [Added an ability to format lowercase am/pm with `aaa` and `bbb` tokens](https://togithub.com/date-fns/date-fns/pull/2016). - [Added ordinal formatting for Japanese year values](https://togithub.com/date-fns/date-fns/pull/2177/files). ### [`v2.16.1`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2161---2020-07-31) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.16.0...v2.16.1) Kudos to [@aleksaps](https://togithub.com/aleksaps), [@leedriscoll](https://togithub.com/leedriscoll) and [@BanForFun](https://togithub.com/BanForFun) for pull-requests! ##### Fixed - [Fixed a typo in Scottish Gaelic (gd) locale](https://togithub.com/date-fns/date-fns/pull/1925). - [Fixed typos in Serbian Latin locale](https://togithub.com/date-fns/date-fns/pull/1928). - [Fixed greek grammar for Saturday on `formatRelative`](https://togithub.com/date-fns/date-fns/pull/1930). - Removed locale snapshots from the npm package making it lighter. ### [`v2.16.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2160---2020-08-27) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.15.0...v2.16.0) Kudos to [@jvpelt](https://togithub.com/jvpelt), [@piotrl](https://togithub.com/piotrl), [@yotamofek](https://togithub.com/yotamofek), [@dwaxweiler](https://togithub.com/dwaxweiler), [@leedriscoll](https://togithub.com/leedriscoll) and [@bradevans](https://togithub.com/bradevans) for working on the release. Also thanks to [@PascalHonegger](https://togithub.com/PascalHonegger), [@pickfire](https://togithub.com/pickfire), [@TheJaredWilcurt](https://togithub.com/TheJaredWilcurt), [@SidKH](https://togithub.com/SidKH) and [@nfantone](https://togithub.com/nfantone) for improving the documentation. ##### Fixed - [Added correct translations for Welsh `1 minute` and `2 days`](https://togithub.com/date-fns/date-fns/pull/1903). - [Fixed `formatRFC3339` formatting timezone offset with minutes](https://togithub.com/date-fns/date-fns/pull/1890). - [Added missing locale type definition for `formatDuration`](https://togithub.com/date-fns/date-fns/pull/1881) - [Fixed Scottish Gaelic locale issues](https://togithub.com/date-fns/date-fns/pull/1914). ##### Changed - [Used shorter Hebrew alternative for "about"](https://togithub.com/date-fns/date-fns/pull/1893). - [Improved string arguments warning after upgrading to v2](https://togithub.com/date-fns/date-fns/pull/1910). ##### Added - [Added Luxembourgish (lb) locale](https://togithub.com/date-fns/date-fns/pull/1900). ### [`v2.15.0`](https://togithub.com/date-fns/date-fns/blob/master/CHANGELOG.md#2150---2020-07-17) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.14.0...v2.15.0) Thanks to [@belgamo](https://togithub.com/belgamo), [@Matsuuu](https://togithub.com/Matsuuu), [@Imballinst](https://togithub.com/Imballinst), [@arsnyder16](https://togithub.com/arsnyder16), [@pankajupadhyay29](https://togithub.com/pankajupadhyay29), [@DCBN](https://togithub.com/DCBN), [@leedriscoll](https://togithub.com/leedriscoll), [@gottsohn](https://togithub.com/gottsohn), [@mukuljainx](https://togithub.com/mukuljainx) and [@dtriana](https://togithub.com/dtriana) for working on the release. Also kudos to [@KidkArolis](https://togithub.com/KidkArolis), [@imgx64](https://togithub.com/imgx64), [@fjc0k](https://togithub.com/fjc0k), [@wmonk](https://togithub.com/wmonk), [@djD-REK](https://togithub.com/djD-REK), [@dandv](https://togithub.com/dandv), [@psimk](https://togithub.com/psimk) and [@brimworks](https://togithub.com/brimworks) for improving the documentation. ##### Fixed - [Fixed behavior of `addBusinessDays` when input date is a weekend day](https://togithub.com/date-fns/date-fns/pull/1790). - [Fixed `parseISO` not returning `Invalid Date` on incorrect string when there are spaces in it](https://togithub.com/date-fns/date-fns/pull/1791). - [Fixed `es` round-tripping dates with Wednesday](https://togithub.com/date-fns/date-fns/pull/1792). - [Fixed round-trip bug with `d`/`EEEE` ordering in tokens like `PPPPP`](https://togithub.com/date-fns/date-fns/pull/1795). - [Fixed issues with parsing values in Japanese](https://togithub.com/date-fns/date-fns/pull/1807). - [Fixed Hungarian breaking IE11](https://togithub.com/date-fns/date-fns/pull/1842). - [Fixed Spanish accents in Saturday and Wednesday](https://togithub.com/date-fns/date-fns/pull/1872). ##### Changed - [Improved the message of protected tokens error](https://togithub.com/date-fns/date-fns/pull/1641). ##### Added - [Added Swiss-French `fr-CH` locale](https://togithub.com/date-fns/date-fns/pull/1809). - [Added Flemish `nl-BE` locale](https://togithub.com/date-fns/date-fns/pull/1812). - [Added Scottish Gaelic `gd` locale](https://togithub.com/date-fns/date-fns/pull/1832). - [Added New Zealand English `en-NZ` locale](https://togithub.com/date-fns/date-fns/pull/1835). - [Added `isMatch` function](https://togithub.com/date-fns/date-fns/pull/1868).Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: 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.