Bump date-fns from 2.0.0-beta.5 to 2.0.0 in /webapp
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
toDate
bug 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
isDate
now 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
eachDayOfInterval
that caused time in the days after DST change to have the shift as well.Fix bug in Galician locale caused by incorrect usage of
getHours
instead 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
-
55deaf6
Update the changelog -
055fa3a
Update README -
146e3c4
Upgrade the changelog -
4b990a1
Remove some obsolete leftover changes -
7baad3c
Run TS build test to the smoke tests -
8cc8e35
Use export default instead of export = in TS -
ce66d0c
Ignore ts tests -
38435e4
Add 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 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)
- 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.