Highlighted day
If I select 7th of August it will highlight every 7th day in every month. When i click on the calendar for the first time, it will highlight today's day and all other days that are of the same number. How to change it to highlight only today's day or the day selected?
Thank you, very nice calendar
+1
I ran into this issue as well. As a workaround, I remove the picker__day--highlighted class from every div with that class that doesn't have today's timestamp as data-pick value:
var now = new Date();
var timestamp = new Date(now.getFullYear(), now.getMonth(), now.getDate()) / 1;
$('.datepicker').pickadate({
onRender: function() {
$('div.picker__day--highlighted').each(function(index, value) {
if ($(this).data('pick') !== timestamp) {
$(this).removeClass('picker__day--highlighted');
}
});
}
});
Commenting this to say that the problem is still here. No patch planed? I used @ghost workaround, works great, but it'll be better to have this patched to avoid as much code. Thanks!
No patch planed?
PRs are very welcome.