Update dependency date-fns to v2.30.0 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.25.0
->2.30.0
Release Notes
date-fns/date-fns (date-fns)
v2.30.0
Compare Source
Kudos to @kossnocorp and @Andarist for working on the release.
Changes
v2.29.3
Compare Source
This release is prepared by our own @leshakoss.
Fixed
Fixed Ukrainian (
uk
) locale grammar forformatDistance
.Improved browser compatibility by transforming the code with
@babel/preset-env
.v2.29.2
Compare Source
This release is brought to you by @nopears, @vadimpopa and @leshakoss.
Fixed
Fixed
sv
locale abbreviated months matcher.Fixed
uk
locale abbreviated months matcher.Fixed a breaking change in
intervalToDuration
by removing a recently introduced RangeError.v2.29.1
Compare Source
Thanks to @fturmel for working on the release.
Fixed
v2.29.0
Compare Source
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
Added
intlFormatDistance
function`.Added
setDefaultOptions
andgetDefaultOptions
functions that allow you to set default default locale,weekStartsOn
andfirstWeekContainsDate
.Added
roundingMethod
option toroundToNearestMinutes
.Added Swiss Italian locale (
it-CH
).Added Occitan (
oc
) locale. (#2061)Added Belarusian Classic (
be-tarask
) locale.Fixed
Fixed Azerbaijani (
az
) locale forformatDistance
.Fixed Czech (
cs
) locale forparse
.Fixed TypeScript types for constants.
Fixed long formatters in the South African English locale (
en-ZA
).Fixed a typo in the Icelandic locale (
is
) forformat
.Fixed weekday format for
formatRelative
in the Portuguese locale (pt
).Fixed
intervalToDuration
being off by 1 day sometimes.Fixed ordinal number formatting in Italian locale (
it
).Fixed issue parsing months in Croatian (
hr
), Georgian (ka
) and Serbian (sr
andsr-Latn
) locales.Changed
Replaced
git.io
links with full URLs in error messages.Internal: removed "v2.0.0 breaking changes" section from individual function docs
v2.28.0
Compare Source
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
Added West Frisian (
fy
) locale.Added Uzbek Cyrillic locale (
uz-Cyrl
).Fixed
add the missing accent mark for Saturday in Spanish locale (
es
) forformat
.allowed
K
token to be used witha
orb
inparse
.v2.27.0
Compare Source
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
format
in Chinese Simplified locale (zh-CN
).Fixed
P
token informat
for Romanian locale (ro
).Fixed era and month formatters in Azerbaijani locale (
az
).Fixed
formatRelative
patterns in Georgian locale (ka
).Fixed regular expressions for
parse
in Estonian locale (er
).Fixed the format of zeros in
formatDuration
in Czech locale (cs
).Fixed ordinal formatting for years, weeks, hours, minutes and seconds in
fr
,fr-CA
andfr-CH
locales.Fixed constants not having proper TypeScript and Flow types.
Fixed translation for Monday in Turkish locale (
tr
).Fixed
eachMinuteOfInterval
not handling intervals less than a minute correctly.Fixed flow types for
closestTo
andclosestIndexTo
.Added
km
).v2.26.0
Compare Source
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
Fixed
formatRelative
format forlastWeek
in Spanish locale.Fixed translation for October in Hindi locale.
Fixed Azerbaijani locale to use correct era matchers for
parse
.Added the functions that use
weekStartsOn
andfirstWeekContainsDate
that were missing from theLocale
documentation page.Changed
Added
Added Irish English locale (
en-IE
).Added Arabic locale (
ar
). (#1670)Added Hong Kong Traditional Chinese locale (zh-HK). (#2684)
Added Egyptian Arabic locale (ar-EG).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.