summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-06 06:53:39 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-06 06:53:39 +0000
commit77354a34e50287e9e95cfdee69130b24acfe5597 (patch)
treeb851263e862962e7e0be77259069cc1a5c86840c /includes/form.inc
parentbdfa735e1c9c3a8ec1cdab42f99f93a2083cca2e (diff)
downloadbrdo-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.inc2
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'));