When momentjs's constructor is used to parse a date string that is not in RFC2822 or ISO format, it logs this warning to the console:
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.
In this PR, I am setting the format of the earliest and latest date fallback values.
When momentjs's constructor is used to parse a date string that is not in RFC2822 or ISO format, it logs this warning to the console:
In this PR, I am setting the format of the earliest and latest date fallback values.