g1eb / angular-datetime-range

📅 Angular directive for datetime range input
https://rawgit.com/g1eb/angular-datetime-range/master/
MIT License
25 stars 15 forks source link

date range without time picker #18

Open ShankzPatil opened 6 years ago

ShankzPatil commented 6 years ago

hi, if i want to use date range without time picker

g1eb commented 6 years ago

interesting, what would be the internal representation of date objects?

Javascript date object has time built into it, which would probably default to 00:00, is that okay?

ShankzPatil commented 6 years ago

I mean disable/hide time selection and only allow date to be change.

On 9 Mar 2018 2:20 a.m., "Gleb" notifications@github.com wrote:

interesting, what would be the internal representation of date objects?

Javascript date object has time built into it, which would probably default to 00:00, is that okay?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g1eb/angular-datetime-range/issues/18#issuecomment-371619896, or mute the thread https://github.com/notifications/unsubscribe-auth/AVHxWonJSH7UcYMasLOVPOoB5UYm-n7-ks5tcZmTgaJpZM4Si40o .

ShankzPatil commented 6 years ago

Same as datetime-input has attribute like date, time and datetime-input for multiple purpose.

On 9 Mar 2018 2:22 a.m., "Shashank Patil" shankz.patil@gmail.com wrote:

I mean disable/hide time selection and only allow date to be change.

On 9 Mar 2018 2:20 a.m., "Gleb" notifications@github.com wrote:

interesting, what would be the internal representation of date objects?

Javascript date object has time built into it, which would probably default to 00:00, is that okay?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g1eb/angular-datetime-range/issues/18#issuecomment-371619896, or mute the thread https://github.com/notifications/unsubscribe-auth/AVHxWonJSH7UcYMasLOVPOoB5UYm-n7-ks5tcZmTgaJpZM4Si40o .

g1eb commented 6 years ago

Okay sounds good, I'll look into this asap :)

ShankzPatil commented 6 years ago

And Also keep enable disable hour, minute, seconds part in it.

On 9 Mar 2018 10:25 p.m., "Gleb" notifications@github.com wrote:

Okay sounds good, I'll look into this asap :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g1eb/angular-datetime-range/issues/18#issuecomment-371872013, or mute the thread https://github.com/notifications/unsubscribe-auth/AVHxWrtQVq_c1IoIsPwcHlzIReRw6xC2ks5tcrPmgaJpZM4Si40o .

g1eb commented 6 years ago

Looking into this now, what do you mean by enable disable hour, minute, seconds part?

ShankzPatil commented 6 years ago

image

see seconds part is disable in above screnshot.

image

and without time part in date range.

ShankzPatil commented 6 years ago

and try to provide direct option to change years.

g1eb commented 6 years ago

ehhh, so many requests haha :) i'll see what i can do 👍

ShankzPatil commented 6 years ago

👍

g1eb commented 6 years ago

I've pushed an update featuring separate date and time range directives. Let me know if that works for you :)

v.0.4.0

g1eb commented 6 years ago

Hi, have you had a chance to take a look yet? :)

Close this issue if it's all done now.