aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-28 07:46:36 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-28 07:46:36 -0400
commitfeefadb125770c0a513735ba7b3d6bea78c77d3b (patch)
treedce12d9edc21578605da76e2707031fc3fff6ff3 /views/default/input
parent3c1cd53a399b32ee5bae7f095b3686fa62310ef1 (diff)
downloadelgg-feefadb125770c0a513735ba7b3d6bea78c77d3b.tar.gz
elgg-feefadb125770c0a513735ba7b3d6bea78c77d3b.tar.bz2
Fixes #4012 when using a timestamp with input/date, return UTC time rather than local time
Diffstat (limited to 'views/default/input')
-rw-r--r--views/default/input/date.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/default/input/date.php b/views/default/input/date.php
index 35a951a0b..ceeb2105c 100644
--- a/views/default/input/date.php
+++ b/views/default/input/date.php
@@ -44,6 +44,7 @@ if ($timestamp) {
$vars['class'] = "{$vars['class']} elgg-input-timestamp";
$vars['id'] = $vars['name'];
unset($vars['name']);
+ unset($vars['internalname']);
}
// convert timestamps to text for display