fullcalendar/text_customization/titleFormat.txt
2010-01-16 14:29:18 -08:00

25 lines
803 B
Plaintext

titleFormat *1.1*
=================
Determines the text that will be displayed in the header's title.
<div class='spec' markdown='1'>
String/[View Option Hash](../views/View_Option_Hash), *default*:
{
month: 'MMMM yyyy', // September 2009
week: "MMM d[ yyyy]{ '&#8212;'[ MMM] d yyyy}", // Sep 7 - 13 2009
day: 'dddd, MMM d, yyyy' // Tuesday, Sep 8, 2009
}
</div>
Uses [formatDate](../utilities/formatDate)/[formatDates](../utilities/formatDates) formatting rules.
A single string will set the title format for all views.
A [View Option Hash](../views/View_Option_Hash) may be provided to target specific views (this is what the default does).
<div class='version-info'>
A View Option Hash can only be provided in version 1.4 and later.
</div>