fix(deps): update dependency date-fns to v2.30.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| date-fns | 2.16.1 -> 2.30.0 |
Release Notes
date-fns/date-fns (date-fns)
v2.30.0
Kudos to @kossnocorp and @Andarist for working on the release.
Changes
- Fixed increased build size after enabling compatibility with older browsers in the previous release. This was done by adding @babel/runtime as a dependency. See more details.
v2.29.3
This release is prepared by our own @leshakoss.
Fixed
v2.29.2
This release is brought to you by @nopears, @vadimpopa and @leshakoss.
Fixed
v2.29.1
Thanks to @fturmel for working on the release.
Fixed
v2.29.0
On this release worked @tan75, @kossnocorp, @nopears, @Balastrong, @cpapazoglou, @dovca, @aliasgar55, @tomchentw, @JuanM04, @alexandresaura, @fturmel, @aezell, @andersravn, @TiagoPortfolio, @SukkaW, @Zebreus, @aviskarkc10, @maic66, @a-korzun, @Mejans, @davidspiess, @alexgul1, @matroskin062, @undecaf, @mprovenc, @jooola and @leshakoss.
Added
Fixed
-
Fixed long formatters in the South African English locale (
en-ZA). -
Fixed weekday format for
formatRelativein the Portuguese locale (pt). -
Fixed issue parsing months in Croatian (
hr), Georgian (ka) and Serbian (srandsr-Latn) locales.
Changed
v2.28.0
Kudos to @tan75, @fturmel, @arcanar7, @jeffjose, @helmut-lang, @zrev2220, @jooola, @minitesh, @cowboy-bebug, @mesqueeb, @JuanM04, @zhirzh, @damon02 and @leshakoss for working on the release.
Added
Fixed
v2.27.0
Kudos to @tan75, @hg-pyun, @07akioni, @razvanmitre, @Haqverdi, @pgcalixto, @janziemba, @fturmel, @JuanM04, @zhirzh, @seanghay, @bulutfatih, @nodeadtree, @cHaLkdusT, @a-korzun, @fishmandev, @wingclover, @Zacharias3690, @kossnocorp and @leshakoss for working on the release.
Fixed
-
Fixed translation for quarters in
formatin Chinese Simplified locale (zh-CN). -
Fixed regular expressions for
parsein Estonian locale (er). -
Fixed the format of zeros in
formatDurationin Czech locale (cs). -
Fixed constants not having proper TypeScript and Flow types.
-
Fixed
eachMinuteOfIntervalnot handling intervals less than a minute correctly.
Added
v2.26.0
Thanks to @kossnocorp, @leshakoss, @tan75, @gaplo, @AbdAllahAbdElFattah13, @fturmel, @kentaro84207, @V-Gutierrez, @atefBB, @jhonatanmacazana, @zhirzh, @Haqverdi, @mandaputtra, @micnic and @rikkalo for working on the release.
Fixed
Changed
Added
v2.25.0
This release is brought to you by @kossnocorp, @gierschv, @fturmel, @redbmk, @mprovenc, @artyom-ivanov and @tan75.
Added
v2.24.0
Kudos to Sasha Koss, Lucas Silva, Jan Ziemba, Anastasia Kobzar, Deepak Gupta, Jonas L, Kentaro Suzuki, Koussay Haj Kacem, fturmel, Tan75 and Adriaan Callaerts for working on the release.
Fixed
Changed
-
Used
1instead ofeinfor GermanformatDurationto make it consistent with other locales and formats. (#2505) -
Made Norwegian
formatDurationconsistent with other locales by using numeric representation instead of written. (#2469) -
Use the word "sekunda" instead of "vteřina" for second in the Czech locale.
-
Made Flemish short date format corresponds to the Flemish government.
Added
-
Added
roundingMethodoption todifferenceInHours,differenceInMinutes,differenceInQuarters,differenceInSecondsanddifferenceInWeekswithtruncas the default method. (#2555)
v2.23.0
Thanks to Liam Tait, fturmel, Takuya Uehara, Branislav Lazic, Seyyed Morteza Moosavi, Felipe Armoni, Sasha Koss, Michael Mok, Tan75 and Maxim Topciu for working on the release.
Changed
Added
-
Added a new
clampfunction that allows to bound a date to an interval. -
Allowed passing
undefinedin the duration to add and sub functions.
v2.22.1
Thanks to Sasha Koss for working on the release.
Fixed
- Fixed constant typings. (#2491)
v2.22.0
Sasha Koss, Lucas Silva, Lay, jwbth, fturmel, Tan75 and Anastasia Kobzar worked on this release.
Fixed
Added
-
Added 18 new conversion functions:
-
daysToWeeks -
hoursToMilliseconds -
hoursToMinutes -
hoursToSeconds -
millisecondsToHours -
millisecondsToMinutes -
millisecondsToSeconds -
minutesToHours -
minutesToMilliseconds -
minutesToSeconds -
monthsToQuarters -
monthsToYears -
quartersToMonths -
quartersToYears -
secondsToHours -
secondsToMilliseconds -
secondsToMinutes -
weeksToDays -
yearsToMonths -
yearsToQuarters
-
v2.21.3
This release is brought to you by Maxim Topciu.
Fixed
v2.21.2
Kudos to Aleksei Korzun, Maxim Topciu, Jonas L, Mohammad ali Ali panah and Tan75 for working on the release.
Fixed
v2.21.1
Thanks to Sasha Koss for working on the release.
Fixed
v2.21.0
This release is brought to you by Aleksei Korzun, Tan75, Rubens Mariuzzo, Christoph Stenglein and Clément Tamisier.
Fixed
Added
v2.20.3
Kudos to fturmel for working on the release.
Fixed
v2.20.2
Kudos to Maxim Topciu for working on the release.
Fixed
v2.20.1
This release is brought to you by Sasha Koss and Tan75.
Fixed
- Fixed
isDateFlow typings that we broke inv2.20.0.
v2.20.0
This release is brought to you by Sasha Koss, Maxim Topciu, tu4mo, Tan75, Ardit Dine, Carl Rosell, Roman Mahotskyi, Mateusz Krzak, fgottschalk, Anastasia Kobzar, Bilguun Ochirbat, Lesha Koss, YuLe and guyroberts21.
Fixed
-
Made
formatDistanceStrictandformatDistanceToNowStrictalways return1 yearinstead of12 months. (#2388) -
Fixed
nextDay,nextMondayandnextTuesdaymissing in exports and type definitions. (#2325)
Added
v2.19.0
Tan75 worked on this release.
Fixed
-
Assigned the correct
firstWeekContainsDatevalue (4) for the French locale. (#2148) -
Fixed a bug in
differenceInMonthsandintervalToDurationthat occurs when dealing with the 28th of February. (#2255)
Added
v2.18.0
Thanks to Tan75 and Lesha Koss.
Fixed
Added
v2.17.0
Kudos to @shaykav, @davidgape89, @rikkalo, @tan75, @talgautb, @owenl131, @kylesezhi, @inigoiparragirre, @gius, @Endeauvirr and @frankyston.
Fixed
-
Fixed
differenceInMonthsfor edge cases, such as the end of February dates. -
Fixed
formatDurationweek translation inptandpt-BRlocales. -
Made Japanese locale to use the correct value for the start of the week.
-
Fixed the short and medium date formats in the Czech locale.
Added
-
Added
intlFormata lightweight formatting function that uses Intl API. Eventually, it will become the default formatting function, so it's highly recommended for new code. -
Added an ability to format lowercase am/pm with
aaaandbbbtokens.
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, check this box
This PR has been generated by Mend Renovate. View repository job log here.