Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight the date in the calendar #928

Closed
F21 opened this issue Jun 27, 2013 · 1 comment
Closed

Highlight the date in the calendar #928

F21 opened this issue Jun 27, 2013 · 1 comment

Comments

@F21
Copy link

F21 commented Jun 27, 2013

It would be nice if the date set in the date attribute could have a special css class for it. This way, it would be pretty trivial to highlight today's date or the initial date set when initializing the widget using css.

selectDate() has been mentioned as a way to do this, but it is not really practical if we want to highlight today's date but also let people select different dates on the calendar.

Another possibility is to set up a customRenderer, but this is probably something pretty commonly used to warrant inclusion into the calendar core.

@F21
Copy link
Author

F21 commented Jun 28, 2013

After some investigation, it looks like the date attribute is normalized to the first day of the month at noon. The date attribute also change according to what month is being shown at the moment.

So the above will need an additional attribute to be introduced.

@F21 F21 closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant