Update dependency date-fns to ^2.11.1
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
date-fns | dependencies | minor | ^2.11.1 | source |
Release Notes
date-fns/date-fns
v2.11.1
Fixed
- Rebuilt TypeScript and flow types.
v2.11.0
Kudos to @oakhan3, @Mukhammadali, @altrim, @leepowellcouk, @amatzon, @bryanMt, @kalekseev, @eugene-platov and @tjrobinson for working on the release.
Fixed
-
Fixed a bug in
differenceInYears
causing incorrect results when the left date is a leap day. -
Fixed
parseISO
to work correctly around time shift dates. -
Fixed
format
to work correctly with GMT-0752/GMT-0456 and similar timezones.
Changed
-
Changed
getDay
typings to return0|1|2|3|4|5|6
instead ofnumber
. -
Improved Chinese locale:
- Change date format to meet the national standard (GB/T 7408-2005).
- Improve
ordinalNumber
function behavior. - Add prefix in
formatRelative
depending on if it's a current week or not.
Added
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.