build(deps): bump date-fns from 2.8.1 to 2.9.0 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Merged
Bumps date-fns from 2.8.1 to 2.9.0.
Release notes
Sourced from date-fns's releases.
v2.9.0
Thanks to @mborgbrant, @saintplay, @mrenty, @kibertoad, @levibuzolic, @Anshuman71, @talgautb, @filipjuza, @tobyzerner, @emil9453, @fintara, @pascaliske, @rramiachraf, @marnusw and @Imballinst for working on the release.
Fixed
- Fixed a bug with addBusinessDays returning the Tuesday when adding 1 day on weekends. Now it returns the Monday.
- Added missing timezone to
formatISO
.- Removed dots from short day period names in the Kazakh locale.
- Fixed typo in formatDistance in the Czech locale.
- Fixed shortenings in the Bulgarian locale.
- Fixed regex for the May in the Portuguese locale.
Added
- Added
eachMonthOfInterval
andeachYearOfInterval
.- Added
inclusive
option to `areIntervalsOverlapping.- Added
isExists
function that checks if the given date is exists.- Added
add
function to add seconds, minutes, hours, weeks, years in single call.- Added
sub
function, the opposite ofadd
.- Added
Duration
type used inadd
andsub
.- Added Azerbaijani (az) locale.
- Added Moroccan Arabic (ar-MA) locale.
Changed
Changelog
Sourced from date-fns's changelog.
[2.9.0] - 2020-01-08
Thanks to @mborgbrant, @saintplay, @mrenty, @kibertoad, @levibuzolic, @Anshuman71, @talgautb, @filipjuza, @tobyzerner, @emil9453, @fintara, @pascaliske, @rramiachraf, @marnusw and @Imballinst for working on the release.
Fixed
- Fixed a bug with addBusinessDays returning the Tuesday when adding 1 day on weekends. Now it returns the Monday.
- Added missing timezone to
formatISO
.- Removed dots from short day period names in the Kazakh locale.
- Fixed typo in formatDistance in the Czech locale.
- Fixed shortenings in the Bulgarian locale.
- Fixed regex for the May in the Portuguese locale.
Added
- Added
eachMonthOfInterval
andeachYearOfInterval
.- Added
inclusive
option to `areIntervalsOverlapping.- Added
isExists
function that checks if the given date is exists.- Added
add
function to add seconds, minutes, hours, weeks, years in single call.- Added
sub
function, the opposite ofadd
.- Added
Duration
type used inadd
andsub
.- Added Azerbaijani (az) locale.
- Added Moroccan Arabic (ar-MA) locale.
Changed
Commits
-
3cadd0c
Update changelog for v2.9.0 -
f91cc9f
Update docs for v2.9.0 -
62c8175
Add a changelog entry for the addBusinessDays bug -
0bed38f
Fix a addBusinessDays bug -
e6677cf
Add timezone to formatISO (#1576) (closes #1559) -
4b60347
Use addDays inside of add to avoid wrong DST math -
2166dfd
Add changelog entries forsub
andDuration
-
ee317a2
Introduce Duration type -
483d43f
New sub function that subtracts a duration from a date -
703526a
Add entries for the merged PRs to the changelog - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)