Revision db2d93dd
Added by Benjamin Luce over 9 years ago
drupal7/modules/system/system.module | ||
---|---|---|
2030 | 2030 |
'#description' => t('Select the desired local time and time zone. Dates and times throughout this site will be displayed using this time zone.'), |
2031 | 2031 |
); |
2032 | 2032 |
if (!isset($account->timezone) && $account->uid == $user->uid && empty($form_state['input']['timezone'])) { |
2033 |
$form['timezone']['#description'] = t('Your time zone setting will be automatically detected if possible. Confirm the selection and click save.'); |
|
2034 | 2033 |
$form['timezone']['timezone']['#attributes'] = array('class' => array('timezone-detect')); |
2035 | 2034 |
drupal_add_js('misc/timezone.js'); |
2036 | 2035 |
} |
Also available in: Unified diff
Update to 7.37