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 /includes/form.inc | |
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 'includes/form.inc')
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 4747ba971..1a7863e55 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1036,7 +1036,7 @@ function expand_date($element) { $element['#tree'] = TRUE; // Determine the order of day, month, year in the site's chosen date format. - $format = variable_get('date_format_short', 'm/d/Y'); + $format = variable_get('date_format_short', 'm/d/Y - H:i'); $sort = array(); $sort['day'] = max(strpos($format, 'd'), strpos($format, 'j')); $sort['month'] = max(strpos($format, 'm'), strpos($format, 'M')); |