date-fns/date-fns
### [`v2.28.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2280---2021-12-28)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.27.0...v2.28.0)
Kudos to [@tan75](https://togithub.com/tan75), [@fturmel](https://togithub.com/fturmel), [@arcanar7](https://togithub.com/arcanar7), [@jeffjose](https://togithub.com/jeffjose), [@helmut-lang](https://togithub.com/helmut-lang), [@zrev2220](https://togithub.com/zrev2220), [@jooola](https://togithub.com/jooola), [@minitesh](https://togithub.com/minitesh), [@cowboy-bebug](https://togithub.com/cowboy-bebug), [@mesqueeb](https://togithub.com/mesqueeb), [@JuanM04](https://togithub.com/JuanM04), [@zhirzh](https://togithub.com/zhirzh), [@damon02](https://togithub.com/damon02) and [@leshakoss](https://togithub.com/leshakoss) for working on the release.
##### Added
- [Added West Frisian (`fy`) locale.](https://togithub.com/date-fns/date-fns/pull/2183)
- [Added Uzbek Cyrillic locale (`uz-Cyrl`).](https://togithub.com/date-fns/date-fns/pull/2811)
##### Fixed
- [add the missing accent mark for Saturday in Spanish locale (`es`) for `format`.](https://togithub.com/date-fns/date-fns/pull/2869)
- [allowed `K` token to be used with `a` or `b` in `parse`.](https://togithub.com/date-fns/date-fns/pull/2814)
### [`v2.27.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2270---2021-11-30)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.26.0...v2.27.0)
Kudos to [@tan75](https://togithub.com/tan75), [@hg-pyun](https://togithub.com/hg-pyun), [@07akioni](https://togithub.com/07akioni), [@razvanmitre](https://togithub.com/razvanmitre), [@Haqverdi](https://togithub.com/Haqverdi), [@pgcalixto](https://togithub.com/pgcalixto), [@janziemba](https://togithub.com/janziemba), [@fturmel](https://togithub.com/fturmel), [@JuanM04](https://togithub.com/JuanM04), [@zhirzh](https://togithub.com/zhirzh), [@seanghay](https://togithub.com/seanghay), [@bulutfatih](https://togithub.com/bulutfatih), [@nodeadtree](https://togithub.com/nodeadtree), [@cHaLkdusT](https://togithub.com/cHaLkdusT), [@a-korzun](https://togithub.com/a-korzun), [@fishmandev](https://togithub.com/fishmandev), [@wingclover](https://togithub.com/wingclover), [@Zacharias3690](https://togithub.com/Zacharias3690), [@kossnocorp](https://togithub.com/kossnocorp) and [@leshakoss](https://togithub.com/leshakoss) for working on the release.
##### Fixed
- [Fixed translation for quarters in `format` in Chinese Simplified locale (`zh-CN`).](https://togithub.com/date-fns/date-fns/pull/2771)
- [Fixed `P` token in `format` for Romanian locale (`ro`).](https://togithub.com/date-fns/date-fns/pull/2213)
- [Fixed era and month formatters in Azerbaijani locale (`az`).](https://togithub.com/date-fns/date-fns/pull/1632)
- [Fixed `formatRelative` patterns in Georgian locale (`ka`).](https://togithub.com/date-fns/date-fns/pull/2797)
- [Fixed regular expressions for `parse` in Estonian locale (`er`).](https://togithub.com/date-fns/date-fns/pull/2038)
- [Fixed the format of zeros in `formatDuration` in Czech locale (`cs`).](https://togithub.com/date-fns/date-fns/pull/2579)
- [Fixed ordinal formatting for years, weeks, hours, minutes and seconds in `fr`, `fr-CA` and `fr-CH` locales.](https://togithub.com/date-fns/date-fns/pull/2626)
- [Fixed constants not having proper TypeScript and Flow types.](https://togithub.com/date-fns/date-fns/pull/2791)
- [Fixed translation for Monday in Turkish locale (`tr`).](https://togithub.com/date-fns/date-fns/pull/2720)
- [Fixed `eachMinuteOfInterval` not handling intervals less than a minute correctly.](https://togithub.com/date-fns/date-fns/pull/2603)
- [Fixed flow types for `closestTo` and `closestIndexTo`.](https://togithub.com/date-fns/date-fns/pull/2781)
##### Added
- [Added Khmer locale (`km`).](https://togithub.com/date-fns/date-fns/pull/2713)
### [`v2.26.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2260---2021-11-19)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.25.0...v2.26.0)
Thanks to [@kossnocorp](https://togithub.com/kossnocorp), [@leshakoss](https://togithub.com/leshakoss), [@tan75](https://togithub.com/tan75), [@gaplo](https://togithub.com/gaplo), [@AbdAllahAbdElFattah13](https://togithub.com/AbdAllahAbdElFattah13), [@fturmel](https://togithub.com/fturmel), [@kentaro84207](https://togithub.com/kentaro84207), [@V-Gutierrez](https://togithub.com/V-Gutierrez), [@atefBB](https://togithub.com/atefBB), [@jhonatanmacazana](https://togithub.com/jhonatanmacazana), [@zhirzh](https://togithub.com/zhirzh), [@Haqverdi](https://togithub.com/Haqverdi), [@mandaputtra](https://togithub.com/mandaputtra), [@micnic](https://togithub.com/micnic) and [@rikkalo](https://togithub.com/rikkalo) for working on the release.
##### Fixed
- [Fixed `formatRelative` format for `lastWeek` in Spanish locale.](https://togithub.com/date-fns/date-fns/pull/2753)
- [Fixed translation for October in Hindi locale.](https://togithub.com/date-fns/date-fns/pull/2729)
- [Fixed Azerbaijani locale to use correct era matchers for `parse`.](https://togithub.com/date-fns/date-fns/pull/1633)
- [Added the functions that use `weekStartsOn` and `firstWeekContainsDate` that were missing from the `Locale` documentation page.](https://togithub.com/date-fns/date-fns/pull/2652)
##### Changed
- [Changed abbreviation for August from "Ags" to "Agt" in Indonesian locale.](https://togithub.com/date-fns/date-fns/pull/2658)
##### Added
- [Added Irish English locale (`en-IE`).](https://togithub.com/date-fns/date-fns/pull/2772)
- [Added Arabic locale (`ar`).](https://togithub.com/date-fns/date-fns/pull/2721) ([#1670](https://togithub.com/date-fns/date-fns/issues/1670))
- [Added Hong Kong Traditional Chinese locale (zh-HK).](https://togithub.com/date-fns/date-fns/pull/2686) ([#2684](https://togithub.com/date-fns/date-fns/issues/2684))
- [Added Egyptian Arabic locale (ar-EG).](https://togithub.com/date-fns/date-fns/pull/2699)
### [`v2.25.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2250---2021-10-05)
[Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.24.0...v2.25.0)
This release is brought to you by [@kossnocorp](https://togithub.com/kossnocorp), [@gierschv](https://togithub.com/gierschv), [@fturmel](https://togithub.com/fturmel), [@redbmk](https://togithub.com/redbmk), [@mprovenc](https://togithub.com/mprovenc), [@artyom-ivanov](https://togithub.com/artyom-ivanov) and [@tan75](https://togithub.com/tan75).
##### Added
- [Added Japanese Hiragana locale (`ja-Hira`).](https://togithub.com/date-fns/date-fns/pull/2663)
- [Added standalone months support to `de` and `de-AT` locales.](https://togithub.com/date-fns/date-fns/pull/2602)
### [`v2.24.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2240---2021-09-17)
[Compare Source](https://togithub.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://togithub.com/date-fns/date-fns/pull/2540) ([#2083](https://togithub.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://togithub.com/date-fns/date-fns/pull/2576) ([#2505](https://togithub.com/date-fns/date-fns/issues/2505))
- [Made Norwegian `formatDuration` consistent with other locales by using numeric representation instead of written.](https://togithub.com/date-fns/date-fns/pull/2631) ([#2469](https://togithub.com/date-fns/date-fns/issues/2469))
- [Use the word "sekunda" instead of "vteřina" for second in the Czech locale.](https://togithub.com/date-fns/date-fns/pull/2577)
- [Made Flemish short date format corresponds to the Flemish government.](https://togithub.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://togithub.com/date-fns/date-fns/pull/2571) ([#2555](https://togithub.com/date-fns/date-fns/issues/2555))
- [Added new functions: `previousDay`, `previousMonday`, `previousTuesday`, `previousWednesday`, `previousThursday`, `previousFriday`, `previousSaturday` and `previousSunday`.](https://togithub.com/date-fns/date-fns/pull/2522)
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.23.0
->2.28.0
Release Notes
date-fns/date-fns
### [`v2.28.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2280---2021-12-28) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.27.0...v2.28.0) Kudos to [@tan75](https://togithub.com/tan75), [@fturmel](https://togithub.com/fturmel), [@arcanar7](https://togithub.com/arcanar7), [@jeffjose](https://togithub.com/jeffjose), [@helmut-lang](https://togithub.com/helmut-lang), [@zrev2220](https://togithub.com/zrev2220), [@jooola](https://togithub.com/jooola), [@minitesh](https://togithub.com/minitesh), [@cowboy-bebug](https://togithub.com/cowboy-bebug), [@mesqueeb](https://togithub.com/mesqueeb), [@JuanM04](https://togithub.com/JuanM04), [@zhirzh](https://togithub.com/zhirzh), [@damon02](https://togithub.com/damon02) and [@leshakoss](https://togithub.com/leshakoss) for working on the release. ##### Added - [Added West Frisian (`fy`) locale.](https://togithub.com/date-fns/date-fns/pull/2183) - [Added Uzbek Cyrillic locale (`uz-Cyrl`).](https://togithub.com/date-fns/date-fns/pull/2811) ##### Fixed - [add the missing accent mark for Saturday in Spanish locale (`es`) for `format`.](https://togithub.com/date-fns/date-fns/pull/2869) - [allowed `K` token to be used with `a` or `b` in `parse`.](https://togithub.com/date-fns/date-fns/pull/2814) ### [`v2.27.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2270---2021-11-30) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.26.0...v2.27.0) Kudos to [@tan75](https://togithub.com/tan75), [@hg-pyun](https://togithub.com/hg-pyun), [@07akioni](https://togithub.com/07akioni), [@razvanmitre](https://togithub.com/razvanmitre), [@Haqverdi](https://togithub.com/Haqverdi), [@pgcalixto](https://togithub.com/pgcalixto), [@janziemba](https://togithub.com/janziemba), [@fturmel](https://togithub.com/fturmel), [@JuanM04](https://togithub.com/JuanM04), [@zhirzh](https://togithub.com/zhirzh), [@seanghay](https://togithub.com/seanghay), [@bulutfatih](https://togithub.com/bulutfatih), [@nodeadtree](https://togithub.com/nodeadtree), [@cHaLkdusT](https://togithub.com/cHaLkdusT), [@a-korzun](https://togithub.com/a-korzun), [@fishmandev](https://togithub.com/fishmandev), [@wingclover](https://togithub.com/wingclover), [@Zacharias3690](https://togithub.com/Zacharias3690), [@kossnocorp](https://togithub.com/kossnocorp) and [@leshakoss](https://togithub.com/leshakoss) for working on the release. ##### Fixed - [Fixed translation for quarters in `format` in Chinese Simplified locale (`zh-CN`).](https://togithub.com/date-fns/date-fns/pull/2771) - [Fixed `P` token in `format` for Romanian locale (`ro`).](https://togithub.com/date-fns/date-fns/pull/2213) - [Fixed era and month formatters in Azerbaijani locale (`az`).](https://togithub.com/date-fns/date-fns/pull/1632) - [Fixed `formatRelative` patterns in Georgian locale (`ka`).](https://togithub.com/date-fns/date-fns/pull/2797) - [Fixed regular expressions for `parse` in Estonian locale (`er`).](https://togithub.com/date-fns/date-fns/pull/2038) - [Fixed the format of zeros in `formatDuration` in Czech locale (`cs`).](https://togithub.com/date-fns/date-fns/pull/2579) - [Fixed ordinal formatting for years, weeks, hours, minutes and seconds in `fr`, `fr-CA` and `fr-CH` locales.](https://togithub.com/date-fns/date-fns/pull/2626) - [Fixed constants not having proper TypeScript and Flow types.](https://togithub.com/date-fns/date-fns/pull/2791) - [Fixed translation for Monday in Turkish locale (`tr`).](https://togithub.com/date-fns/date-fns/pull/2720) - [Fixed `eachMinuteOfInterval` not handling intervals less than a minute correctly.](https://togithub.com/date-fns/date-fns/pull/2603) - [Fixed flow types for `closestTo` and `closestIndexTo`.](https://togithub.com/date-fns/date-fns/pull/2781) ##### Added - [Added Khmer locale (`km`).](https://togithub.com/date-fns/date-fns/pull/2713) ### [`v2.26.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2260---2021-11-19) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.25.0...v2.26.0) Thanks to [@kossnocorp](https://togithub.com/kossnocorp), [@leshakoss](https://togithub.com/leshakoss), [@tan75](https://togithub.com/tan75), [@gaplo](https://togithub.com/gaplo), [@AbdAllahAbdElFattah13](https://togithub.com/AbdAllahAbdElFattah13), [@fturmel](https://togithub.com/fturmel), [@kentaro84207](https://togithub.com/kentaro84207), [@V-Gutierrez](https://togithub.com/V-Gutierrez), [@atefBB](https://togithub.com/atefBB), [@jhonatanmacazana](https://togithub.com/jhonatanmacazana), [@zhirzh](https://togithub.com/zhirzh), [@Haqverdi](https://togithub.com/Haqverdi), [@mandaputtra](https://togithub.com/mandaputtra), [@micnic](https://togithub.com/micnic) and [@rikkalo](https://togithub.com/rikkalo) for working on the release. ##### Fixed - [Fixed `formatRelative` format for `lastWeek` in Spanish locale.](https://togithub.com/date-fns/date-fns/pull/2753) - [Fixed translation for October in Hindi locale.](https://togithub.com/date-fns/date-fns/pull/2729) - [Fixed Azerbaijani locale to use correct era matchers for `parse`.](https://togithub.com/date-fns/date-fns/pull/1633) - [Added the functions that use `weekStartsOn` and `firstWeekContainsDate` that were missing from the `Locale` documentation page.](https://togithub.com/date-fns/date-fns/pull/2652) ##### Changed - [Changed abbreviation for August from "Ags" to "Agt" in Indonesian locale.](https://togithub.com/date-fns/date-fns/pull/2658) ##### Added - [Added Irish English locale (`en-IE`).](https://togithub.com/date-fns/date-fns/pull/2772) - [Added Arabic locale (`ar`).](https://togithub.com/date-fns/date-fns/pull/2721) ([#1670](https://togithub.com/date-fns/date-fns/issues/1670)) - [Added Hong Kong Traditional Chinese locale (zh-HK).](https://togithub.com/date-fns/date-fns/pull/2686) ([#2684](https://togithub.com/date-fns/date-fns/issues/2684)) - [Added Egyptian Arabic locale (ar-EG).](https://togithub.com/date-fns/date-fns/pull/2699) ### [`v2.25.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2250---2021-10-05) [Compare Source](https://togithub.com/date-fns/date-fns/compare/v2.24.0...v2.25.0) This release is brought to you by [@kossnocorp](https://togithub.com/kossnocorp), [@gierschv](https://togithub.com/gierschv), [@fturmel](https://togithub.com/fturmel), [@redbmk](https://togithub.com/redbmk), [@mprovenc](https://togithub.com/mprovenc), [@artyom-ivanov](https://togithub.com/artyom-ivanov) and [@tan75](https://togithub.com/tan75). ##### Added - [Added Japanese Hiragana locale (`ja-Hira`).](https://togithub.com/date-fns/date-fns/pull/2663) - [Added standalone months support to `de` and `de-AT` locales.](https://togithub.com/date-fns/date-fns/pull/2602) ### [`v2.24.0`](https://togithub.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v2240---2021-09-17) [Compare Source](https://togithub.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://togithub.com/date-fns/date-fns/pull/2540) ([#2083](https://togithub.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://togithub.com/date-fns/date-fns/pull/2576) ([#2505](https://togithub.com/date-fns/date-fns/issues/2505)) - [Made Norwegian `formatDuration` consistent with other locales by using numeric representation instead of written.](https://togithub.com/date-fns/date-fns/pull/2631) ([#2469](https://togithub.com/date-fns/date-fns/issues/2469)) - [Use the word "sekunda" instead of "vteřina" for second in the Czech locale.](https://togithub.com/date-fns/date-fns/pull/2577) - [Made Flemish short date format corresponds to the Flemish government.](https://togithub.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://togithub.com/date-fns/date-fns/pull/2571) ([#2555](https://togithub.com/date-fns/date-fns/issues/2555)) - [Added new functions: `previousDay`, `previousMonday`, `previousTuesday`, `previousWednesday`, `previousThursday`, `previousFriday`, `previousSaturday` and `previousSunday`.](https://togithub.com/date-fns/date-fns/pull/2522)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.