aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-05 16:28:32 -0400
committercash <cash.costello@gmail.com>2011-11-05 16:28:32 -0400
commit2cbb3a7248744d72267164d3a41bd3b2b8fc4978 (patch)
treeac26e51c8311bae8931c27db0ebc92dac41473d8 /views/default/input
parentf19305b23bba276ef2601227d1e12f6beceef8ae (diff)
downloadelgg-2cbb3a7248744d72267164d3a41bd3b2b8fc4978.tar.gz
elgg-2cbb3a7248744d72267164d3a41bd3b2b8fc4978.tar.bz2
Fixes #4050 using ISO 8601 standard for dates
Diffstat (limited to 'views/default/input')
-rw-r--r--views/default/input/date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/date.php b/views/default/input/date.php
index ceeb2105c..828ce5520 100644
--- a/views/default/input/date.php
+++ b/views/default/input/date.php
@@ -49,7 +49,7 @@ if ($timestamp) {
// convert timestamps to text for display
if (is_numeric($vars['value'])) {
- $vars['value'] = gmdate('Y/m/d', $vars['value']);
+ $vars['value'] = gmdate('Y-m-d', $vars['value']);
}
$attributes = elgg_format_attributes($vars);