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

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. #140

Open
endabarrett opened this issue May 18, 2020 · 1 comment

Comments

@endabarrett
Copy link

Hi,

When the suffix is hidden
{{` someDate | moment("from", "now", true) }}
a depreciation warning appears in the browser console.
When the suffix is visible
{{ someDate | moment("from", "now") }}
there is no warning.

I'm using the latest version of vue-moment. The full warning is
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.

@nekooee
Copy link

nekooee commented Apr 8, 2021

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: false, _useUTC: false, _l: undefined, _i: true, _f: undefined, _strict: undefined, _locale: [object Object]
Error
please solved this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants