aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 20:08:36 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 20:08:36 +0000
commitdf750ff4e9e069aff6cf9e5ada55ae0696c1e77b (patch)
tree6b5c4a72dc4e267b2d69a6cd31b0ef20bbaa4f6d /views
parent5595bf0ccbd10869f20ccd0ee4f7ad1935956408 (diff)
downloadelgg-df750ff4e9e069aff6cf9e5ada55ae0696c1e77b.tar.gz
elgg-df750ff4e9e069aff6cf9e5ada55ae0696c1e77b.tar.bz2
Corrected bug in datepicker for passing in values.
git-svn-id: http://code.elgg.org/elgg/trunk@5489 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/input/datepicker.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/input/datepicker.php b/views/default/input/datepicker.php
index 43a0543f0..684c872f9 100644
--- a/views/default/input/datepicker.php
+++ b/views/default/input/datepicker.php
@@ -27,7 +27,8 @@ if (!isset($vars['value']) || $vars['value'] === FALSE) {
}
if ($vars['value'] > 86400) {
- $val = date("F j, Y", $vars['value']);
+ //$val = date("F j, Y", $vars['value']);
+ $val = date('n/d/Y', $vars['value']);
} else {
$val = $vars['value'];
}