angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

Date type support

Open ert78gb opened this issue 7 years ago • 10 comments

Hi,

Why support only moment and string input / output type?

thx, Robi

ert78gb avatar Sep 19 '17 07:09 ert78gb

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!

vlio20 avatar Sep 19 '17 07:09 vlio20

Cool. I will need it in the next 2 week, so I will working on it...

ert78gb avatar Sep 19 '17 08:09 ert78gb

@ert78gb, any progress?

vlio20 avatar Sep 30 '17 18:09 vlio20

Not yet. The string and moment version is enough for me now

ert78gb avatar Sep 30 '17 19:09 ert78gb

cool, I will handle it than :)

Thanks

vlio20 avatar Sep 30 '17 19:09 vlio20

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

Franklin89 avatar Jan 08 '18 06:01 Franklin89

Unfortunately I don't have a lot of time developing this feature, so not much (any) progress. PR would be great.

vlio20 avatar Jan 08 '18 07:01 vlio20

Okay I'll try my best. Any hint where to start? Fork and branch of master? or what is your dev branch?

Franklin89 avatar Jan 08 '18 07:01 Franklin89

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 .

vlio20 avatar Jan 08 '18 08:01 vlio20

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

WaterBleu avatar Oct 10 '18 19:10 WaterBleu