angular-datepicker
angular-datepicker copied to clipboard
Date type support
Hi,
Why support only moment and string input / output type?
thx, Robi
This is on my list of features to support native Date type as well. I will mark this issue as a FeatureRequest. If you want to PR it would be awesome!
Cool. I will need it in the next 2 week, so I will working on it...
@ert78gb, any progress?
Not yet. The string and moment version is enough for me now
cool, I will handle it than :)
Thanks
Hi @vlio20 Great library 👍 I am just wondering how this feature is coming along and if you have any timeline on it? our data structure uses the Date type. It works straight out of the box more ore less. Except that if we load the data and present it the ISO String is displayed instead of the format that was set at config. Selecting a new date afterwards works great. If any help is needed I might be able to do something. Let me know thanks. Franklin
Unfortunately I don't have a lot of time developing this feature, so not much (any) progress. PR would be great.
Okay I'll try my best. Any hint where to start? Fork and branch of master? or what is your dev branch?
Basically, you have a utility service which does all the conversions. Internally the module works only with Moment object.
On Jan 8, 2018 9:59 AM, "Matteo" [email protected] wrote:
Okay I'll try my best. Any hint where to start?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vlio20/angular-datepicker/issues/198#issuecomment-355901980, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVQsaSaNHUdJpT2BjqmY7ZGEwuD5kBYks5tIcrRgaJpZM4Pb9TT .
yeah ideally I can just have the ngModel bind to a date object that would be nice. is there a new timeline for this? @vlio20