customd / jquery-calendar

A full day, week, and resource calendar for use with jQuery.
MIT License
62 stars 26 forks source link

Advanced event title formatting #1

Closed maxwellE closed 11 years ago

maxwellE commented 11 years ago

I would like to show the start and end time for each event in the title area. How would I go about doing this? What format string could make this work? Thanks for the great plugin!

samatcd commented 11 years ago

Date formatting is done using a date mask string, using the same syntax as the PHP Date.

To display the start time of an event in the title you simply need to leave the event title attribute blank, and set the 'maskeventlabel' to the date mask you want to display.

Unfortunately at present there is no option to show the events end time, however if you'd like that feature you could create a new issue with that request.