function availability_calendar_format_entry_date in Availability Calendars 7.5
Same name and namespace in other branches
- 7.3 availability_calendar.inc \availability_calendar_format_entry_date()
- 7.4 availability_calendar.inc \availability_calendar_format_entry_date()
Formats a date according to the - possibly localized - 'Availability Calendar date entry' date type.
Parameters
DateTime $date:
Return value
string
1 call to availability_calendar_format_entry_date()
- availability_calendar_handler_filter_availability::value_form_date_field in views/
availability_calendar_handler_filter_availability.inc - Returns a date form field definition for the given operand
File
- ./
availability_calendar.inc, line 271
Code
function availability_calendar_format_entry_date($date) {
$date_type = 'availability_calendar_date_entry';
return format_date($date
->getTimestamp(), $date_type);
}