angular-datetime-range icon indicating copy to clipboard operation
angular-datetime-range copied to clipboard

date range without time picker

Open ShankzPatil opened this issue 6 years ago • 12 comments

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

ShankzPatil avatar Mar 08 '18 15:03 ShankzPatil

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?

g1eb avatar Mar 08 '18 20:03 g1eb

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

On 9 Mar 2018 2:20 a.m., "Gleb" [email protected] 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 avatar Mar 08 '18 20:03 ShankzPatil

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" [email protected] wrote:

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

On 9 Mar 2018 2:20 a.m., "Gleb" [email protected] 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 avatar Mar 08 '18 20:03 ShankzPatil

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

g1eb avatar Mar 09 '18 16:03 g1eb

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

On 9 Mar 2018 10:25 p.m., "Gleb" [email protected] 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 .

ShankzPatil avatar Mar 09 '18 17:03 ShankzPatil

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

g1eb avatar Mar 20 '18 14:03 g1eb

image

see seconds part is disable in above screnshot.

image

and without time part in date range.

ShankzPatil avatar Mar 20 '18 14:03 ShankzPatil

and try to provide direct option to change years.

ShankzPatil avatar Mar 20 '18 14:03 ShankzPatil

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

g1eb avatar Mar 20 '18 14:03 g1eb

👍

ShankzPatil avatar Mar 20 '18 15:03 ShankzPatil

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 avatar Mar 20 '18 17:03 g1eb

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

Close this issue if it's all done now.

g1eb avatar Apr 30 '18 16:04 g1eb