Bump date-fns from 2.0.0-beta.5 to 2.0.0 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Merged
Bumps date-fns from 2.0.0-beta.5 to 2.0.0.
Release notes
Sourced from date-fns's releases.
v2.0.0
🔥 🔥 🔥 date-fns v2 is out!🔥 🔥 🔥 See the changelogs:
- Pre-releases changelog (if you're upgrading from alpha or beta): https://gist.github.com/kossnocorp/a307a464760b405bb78ef5020a4ab136#v200
- Full changelog: https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md#200---2019-08-20
Changelog
Sourced from date-fns's changelog.
[2.0.0] - 2019-08-20
If you're upgrading from v2 alpha or beta, see the pre-release changelog.
Fixed
Fix the
toDatebug occurring when parsing ISO-8601 style dates (but not valid ISO format) with a trailing Z (e.g2012-01Z), it returned Invalid Date for FireFox/IE11 #510Fix
differenceIn...functions returning negative zero in some cases: #692
isDatenow works properly with dates passed across iframes #754.Fix a few bugs that appear in timezones with offsets that include seconds (e.g. GMT+00:57:44). See PR #789.
Fixed DST issue. See #972 and #992 for more details.
Fixed DST issue in
eachDayOfIntervalthat caused time in the days after DST change to have the shift as well.Fix bug in Galician locale caused by incorrect usage of
getHoursinstead ofgetUTCHours.Changed
... (truncated)
BREAKING: now functions don't accept string arguments, but only numbers or dates. When a string is passed, it will result in an unexpected result (
Invalid Date,NaN, etc).From now on a string should be parsed using
parseISO(ISO 8601) orparse.In v1 we've used
new Date()to parse strings, but it resulted in many hard-to-track bugs caused by inconsistencies in different browsers. To address that we've implemented our ISO 8601 parser but that made library to significantly grow in size. To prevent inevitable bugs and keep the library tiny, we made this trade-off.See this post for more details.
// Before v2.0.0 addDays('2016-01-01', 1) // v2.0.0 onward addDays(parseISO('2016-01-01'), 1)
Commits
-
55deaf6Update the changelog -
055fa3aUpdate README -
146e3c4Upgrade the changelog -
4b990a1Remove some obsolete leftover changes -
7baad3cRun TS build test to the smoke tests -
8cc8e35Use export default instead of export = in TS -
ce66d0cIgnore ts tests -
38435e4Add TypeScript definition file linting and building scripts - See full diff 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.