function availability_calendar_format_display_date in Availability Calendars 7.3
Same name and namespace in other branches
- 7.5 availability_calendar.inc \availability_calendar_format_display_date()
- 7.4 availability_calendar.inc \availability_calendar_format_display_date()
Formats a date according to the - possibly localized - 'Availability Calendar date display' date type.
Parameters
DateTime $date:
Return value
string
1 call to availability_calendar_format_display_date()
File
- ./
availability_calendar.inc, line 196 - General helper methods for Availability Calendar
Code
function availability_calendar_format_display_date($date) {
$date_type = 'availability_calendar_date_display';
return format_date($date
->getTimestamp(), $date_type);
}