function date_timezone_handling_options in Date 8
Same name in this branch
- 8 date_admin.inc \date_timezone_handling_options()
- 8 date_field/date_field.module \date_timezone_handling_options()
Same name and namespace in other branches
- 5.2 date/date_admin.inc \date_timezone_handling_options()
- 5 date.inc \date_timezone_handling_options()
- 6.2 date/date_admin.inc \date_timezone_handling_options()
- 6 date/date_admin.inc \date_timezone_handling_options()
- 7.3 date_admin.inc \date_timezone_handling_options()
- 7 date_admin.inc \date_timezone_handling_options()
- 7.2 date_admin.inc \date_timezone_handling_options()
Timezone handling options.
The 'none' option will do no timezone conversions and will store and display dates exactly as entered useful in locales or situations where timezone conversions are not working reliably, for dates with no times, for historical dates where timezones are irrelevant, or anytime conversion is unnecessary or undesirable.
3 calls to date_timezone_handling_options()
- date_field_field_settings_form in date_field/
date_field.module - Helper function for date_field_settings_form().
- date_tools_wizard_tz_handling in date_tools/
date_tools.wizard.inc - @todo.
- _date_field_settings_form in ./
date_admin.inc - Helper function for date_field_settings_form().
File
- ./
date_admin.inc, line 264 - Date administration code.
Code
function date_timezone_handling_options() {
return array(
'site' => t("Site's time zone"),
'date' => t("Date's time zone"),
'user' => t("User's time zone"),
'utc' => 'UTC',
'none' => t('No time zone conversion'),
);
}