diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-06 06:53:39 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-06 06:53:39 +0000 |
commit | 77354a34e50287e9e95cfdee69130b24acfe5597 (patch) | |
tree | b851263e862962e7e0be77259069cc1a5c86840c /modules/system/system.module | |
parent | bdfa735e1c9c3a8ec1cdab42f99f93a2083cca2e (diff) | |
download | brdo-77354a34e50287e9e95cfdee69130b24acfe5597.tar.gz brdo-77354a34e50287e9e95cfdee69130b24acfe5597.tar.bz2 |
#49443 by Ralf Stamm and webchick. Make default date format consistent.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index b89c5adc2..ac6ae856b 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -722,7 +722,7 @@ function system_date_time_settings() { $zones = _system_zonelist(); // Date settings: possible date formats - $dateshort = array('Y-m-d H:i','m/d/Y - H:i', 'd/m/Y - H:i', 'Y/m/d - H:i', + $dateshort = array('Y-m-d H:i', 'm/d/Y - H:i', 'd/m/Y - H:i', 'Y/m/d - H:i', 'd.m.Y - H:i', 'm/d/Y - g:ia', 'd/m/Y - g:ia', 'Y/m/d - g:ia', 'M j Y - H:i', 'j M Y - H:i', 'Y M j - H:i', 'M j Y - g:ia', 'j M Y - g:ia', 'Y M j - g:ia'); @@ -763,7 +763,7 @@ function system_date_time_settings() { $form['date_format_short'] = array( '#type' => 'select', '#title' => t('Short date format'), - '#default_value' => variable_get('date_format_short', $dateshort[0]), + '#default_value' => variable_get('date_format_short', $dateshort[1]), '#options' => $dateshortchoices, '#description' => t('The short format of date display.') ); @@ -771,7 +771,7 @@ function system_date_time_settings() { $form['date_format_medium'] = array( '#type' => 'select', '#title' => t('Medium date format'), - '#default_value' => variable_get('date_format_medium', $datemedium[0]), + '#default_value' => variable_get('date_format_medium', $datemedium[1]), '#options' => $datemediumchoices, '#description' => t('The medium sized date display.') ); |