fullcalendar/utilities/formatDates.txt

18 lines
481 B
Plaintext
Raw Normal View History

2010-01-16 23:29:18 +01:00
formatDates *1.3*
=================
Formats a date range (two Date objects) into a string.
<div class='spec' markdown='1'>
$.fullCalendar.formatDates( *date1*, *date2*, *formatString* [, *options* ] ) -> String
</div>
`formatDates` uses all the commands from [formatDate](), but with two more special forms:
`{...}`
: switches to formatting the 2nd date
`[...]`
: only displays the enclosed format if the current date is different from the alternate date in the same regards