kineticsocial / angularjs-datetime-picker

AngularJS DateTime Picker Without JQuery and Bootstrap
MIT License
66 stars 79 forks source link

fixes problem minute='0' #10

Open HoplaGeiss opened 8 years ago

HoplaGeiss commented 8 years ago

Hello,

This is my first pull request so bear with me :)

I noticed having something of the like doesn't work (minutes are still using the current time): <input datetime-picker ng-model="model" minute='0'/>

I tried made some little changes to the source code, it seems to work for me. You might have something more elegant than this :)

PS: I didn't change the minified version, I am not sure if I am supposed to do it when doing a pull request.