function date_timezone_handling_options in Date 5
Same name and namespace in other branches
- 8 date_admin.inc \date_timezone_handling_options()
- 8 date_field/date_field.module \date_timezone_handling_options()
- 5.2 date/date_admin.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 omitting user option for now because we only know the user's offset at best, not their timezone come back later and enable this option if there is a way to collect and save user timezones
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
1 call to date_timezone_handling_options()
File
- ./
date.inc, line 618 - Date/time API functions
Code
function date_timezone_handling_options() {
return array(
'gmt' => 'GMT',
'site' => t('Site\'s time zone'),
'date' => t('Date\'s time zone'),
//'user' => t('User\'s time zone'),
'none' => t('No time zone conversion'),
);
}