brianblakely/nodep-date-input-polyfill

Date value not change on Angular

Closed this issue · 2 comments

Hi, I have installed nodep-date-input-polyfill on an angular app and works well but the date is not updated (from 2017-08-08 to 2017-08-28) I see that the input have a correctly updated value but on the browser is wrong:

How I can solve this?

Thanks and best regards

I use Angular version 1.3.8

There's date-input-polyfill, which doesn't have this issue. It, however, has a separate issue with DOMContentLoaded, which I've created a pull request for. Until it's merged, you can include it in your project:

"date-input-polyfill": "stevenvachon/date-input-polyfill#built"

For ng apps, there are bunch of datepickers that hook into Angular's plumbing. That fork is not really a polyfill and isn't quite maintained, but I think it was made to adapt this project for things like Angular.