daterangepicker icon indicating copy to clipboard operation
daterangepicker copied to clipboard

Add an option to show calendar differently when a month starts on the first day of the week

Open petethepig opened this issue 9 years ago • 3 comments

This is how it's implemented right now. When a month starts on the first day of the week, we show the previous month: image

We should add an option to hide the previous month: image

petethepig avatar Jan 13 '16 15:01 petethepig

how to add this in code?

raviji avatar Jan 20 '16 15:01 raviji

Right now you would need to edit source code, replace this line with just:

if date.isAfter(firstDayOfMonth)

petethepig avatar Jan 20 '16 19:01 petethepig

right now am using daterangepicker.js file, you have suggested in coffee script so bit confusing..

raviji avatar Jan 21 '16 03:01 raviji