Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix moment deprecation warning #20487

Merged

Conversation

muescha
Copy link
Contributor

@muescha muescha commented Jan 8, 2020

Description

fix for:

warn Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non
RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: 2020-1-8, _f: undefined, _strict: undefined, _locale: [object Object]

Documentation

n/a

Related Issues

fixes #20486

@muescha muescha requested a review from a team as a code owner January 8, 2020 19:59
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much!

@sidharthachatterjee sidharthachatterjee added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Jan 8, 2020
@gatsbybot gatsbybot merged commit b8ad681 into gatsbyjs:master Jan 8, 2020
@muescha muescha deleted the muescha/fix/moment-deprecation-warning branch January 10, 2020 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore(doc): warn Deprecation warning - moment construction falls back to js Date()
3 participants