Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 550 Bytes

01-js-date.md

File metadata and controls

13 lines (11 loc) · 550 Bytes
title
JS Date Construction
Moment construction falls back to js Date. 
This is discouraged and will be removed in an upcoming major release.

This deprecation warning is thrown when no known format is found for a date passed into the string constructor. To work around this issue, specify a format for the string being passed to moment().

See the parsing docs for more information.

View original GitHub issue