vue-datetime icon indicating copy to clipboard operation
vue-datetime copied to clipboard

Disable weekends?

Open tamerkalieh opened this issue 6 years ago • 9 comments

Versions

vue: 2.6.10 vue-datetime: ^1.0.0-beta.10 luxon: ^1.16.0

Is it possible to disable weekends?

tamerkalieh avatar Jul 07 '19 21:07 tamerkalieh

I have the same question

Ic3m4n34 avatar Aug 06 '19 06:08 Ic3m4n34

I think it would be more flexible to add general support for excluding specific days of week.? :-)

hjelmdal avatar Jan 23 '20 08:01 hjelmdal

Same here

soyjonathanespinosa avatar Feb 13 '20 18:02 soyjonathanespinosa

yep, this is needed. I'll have to drop this timepicker

lyziane avatar Mar 16 '20 20:03 lyziane

Same here, it's a real shame it's not possible to disable dates even if it's stated in the description of the repo

SayHeyD avatar Apr 23 '20 22:04 SayHeyD

+1 for this as well as disabling times. This is critical for certain applications.

Vue-js datepicker has extensive support for disabling dates: https://www.npmjs.com/package/vuejs-datepicker#disabled-dates

Support for disabling time is also important. Hope it gets implemented one day.

ghost avatar Oct 26 '20 18:10 ghost

+1

vanrijs avatar Feb 03 '21 17:02 vanrijs

+1

luke-ele7 avatar Jul 07 '21 13:07 luke-ele7

You can do this in my fork https://github.com/tripflex/vue-datetime

tripflex avatar Aug 27 '21 21:08 tripflex