brianblakely / nodep-date-input-polyfill

Automatically adds datepickers to input[type=date] on IE, macOS Safari, and legacy browsers.
https://www.npmjs.com/package/nodep-date-input-polyfill
MIT License
96 stars 137 forks source link

valueAsDate off by one #46

Closed murphysierra closed 7 years ago

murphysierra commented 7 years ago

My previous off by one comment was wrong, but it appears that the .valueAsDate returns a date that is a single day earlier than the date entered into the input.

brianblakely commented 7 years ago

I am not seeing this issue on the test page.

Make sure you are using the latest version, 4.8.0.

If you continue to have this issue, please kindly submit a demonstration if possible.