function calendar_gregorian_formatter in Calendar Systems 6.2
Gregorian calendar (fake) date formatter callback.
Parameters
$timestamp: Unix timestamp to be formatted. The proper timezone value has been added by the native format_date().
$type: The format to use. Can be "small", "medium" or "large" for the preconfigured date formats. If "custom" is specified, then $format is required as well.
$format: PHP date() function format string.
$langcode: Optional language code to translate to a language other than the default.
$calendar: A copy of calendar information.
Return value
The formatted date or FALSE otherwise.
See also
1 string reference to 'calendar_gregorian_formatter'
- calendar_systems_calendar_info in ./
calendar_systems.module - Implements hook_calendar_info().
File
- ./
calendar_systems.module, line 467 - Contains Calendar Systems module hooks, helpers and API functions.
Code
function calendar_gregorian_formatter($timestamp, $type, $format, $langcode, $calendar) {
return FALSE;
}