pickadate.js icon indicating copy to clipboard operation
pickadate.js copied to clipboard

How do you enable only the first day of each month?

Open hfrid opened this issue 9 years ago • 3 comments

Is this function missing or how do I go about enabling only the 1st day of each month?

hfrid avatar Aug 24 '16 11:08 hfrid

@hfrid I'd configure my datepicker as described here

So in your case:

$('.datepicker').pickadate({
  disable: [
    true,
    [2017,1,1],
    [2017,2,1],
    [2017,3,1],
    [2017,4,1],
    [2017,5,1],
    [2017,6,1],
    [2017,7,1],
    [2017,8,1],
    [2017,9,1],
    [2017,10,1],
    [2017,11,1],
    [2017,12,1]
  ]
})

Jivebunny avatar Oct 11 '16 10:10 Jivebunny

well, what about year 2018? it would be nice have some logic to disabling all holiday days in all years.

1ucay avatar Aug 14 '17 13:08 1ucay

any update on this?

phase23 avatar Oct 13 '22 18:10 phase23