arshaw/fullcalendar — pull request #46 by abukhait (2012-03-08 21:57:53+00:00)
Title: Add cell date as data attribute and provide a custom selector for it

In one of our projects that's using fullcalendar, we needed a way to style certain cells differently. For example, we have the user select a date first, then render the calendar, we want to style the cell that represents the date differently, we also needed to style cells based on their content, so we needed a way to identify the cells based on the data we're putting into it.

The minimal plugin modification we came up with was to store the date attribute in the cells, then use a custom jquery selector to grab whatever cells we want, and then style them as we wish in callbacks.

This could potentially be helpful to others.

Thanks for all the great work on fullcalendar