function availability_calendar_format_display_date in Availability Calendars 7.5
Same name and namespace in other branches
- 7.3 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()
- availability_calendar_booking_formlet_form_inc in booking_formlet/
availability_calendar_booking_formlet.inc - Callback for drupal_get_form() to create the booking formlet view.
File
- ./
availability_calendar.inc, line 258
Code
function availability_calendar_format_display_date($date) {
$date_type = 'availability_calendar_date_display';
return format_date($date
->getTimestamp(), $date_type);
}