Looking for clarification on this issue.
I found the date format ("yyyy-mm-dd"), returning a date that is 1 day previous.
new Date ("2018-05-13");
> Sat May 12 2018 17:00:00 GMT-0700 (PDT)
I confirmed that the date format ("mm-dd-yyyy") and ("yyyy-mm-dd 00:00:00") return the correct date.
new Date ("05-13-2018");
> Sun May 13 2018 00:00:00 GMT-0700 (PDT)
new Date ("2018-05-13 00:00:00");
> Sun May 13 2018 00:00:00 GMT-0700 (PDT)
I tested this in Chrome and FireFox.
Chrome has the error, Firefox does not. In addition Firefox dislikes the date format ("mm-dd-yyyy").
So, bugs?