alongubkin / angular-datepicker

Angular.js Date/Time Picker
MIT License
291 stars 129 forks source link

Any API to extend? #5

Open flyhighzy opened 10 years ago

flyhighzy commented 10 years ago

I noticed that this datepicker is based on this one(https://github.com/amsul/pickadate.js), and modified to angularjs-based. but there are plenty of api of amsul's pickadate, so I'm wondering if there also are APIs we can use to custom the datepicker. I'm using this datepicker but the only way to change some format is to modify the angular-datepicker.js, it's not that friendly. Thanks for the work and waiting for your reply

kazuo commented 10 years ago

The pickADate and pickATime directives don't expose more of pickadate's API by default. I ended up writing similar directives to help expose more pickadate's options.

alongubkin commented 10 years ago

@kazuo you can always contribute them :) this is a community project.