function partial_date_timezone_handling_options in Partial Date 7
Returns a translated array of timezone handling options.
Currently, this is a copy of the Dates module options.
1 call to partial_date_timezone_handling_options()
File
- ./
partial_date.module, line 1029 - Defines a date element that allows for any combination of date granularity settings.
Code
function partial_date_timezone_handling_options() {
return array(
'none' => t('No timezone conversion'),
'date' => t('User selectable', array(), array(
'context' => 'datetime',
)),
'site' => t("Site's timezone"),
'user' => t("User's account timezone"),
'utc' => t('UTC', array(), array(
'context' => 'datetime',
)),
);
}