aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/input
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-03-13 16:40:49 +0100
committerKevin Jardine <kevinjardine@yahoo.com>2012-03-13 16:40:49 +0100
commit1150f289dfb488cc0aaf9f1ae56183e752226312 (patch)
tree17771e41eba4eef5ddc04c2bef79babfd46ff09c /views/default/event_calendar/input
parente0e9ff33a7f5fc334af8127fc8680925ce967d14 (diff)
downloadelgg-1150f289dfb488cc0aaf9f1ae56183e752226312.tar.gz
elgg-1150f289dfb488cc0aaf9f1ae56183e752226312.tar.bz2
replaced deprecated friendly time, dates now stored properly in GMT and displayed in server time, added beginning of full calendar option
Diffstat (limited to 'views/default/event_calendar/input')
-rw-r--r--views/default/event_calendar/input/date_local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/event_calendar/input/date_local.php b/views/default/event_calendar/input/date_local.php
index f9979cb38..f4cb48d11 100644
--- a/views/default/event_calendar/input/date_local.php
+++ b/views/default/event_calendar/input/date_local.php
@@ -49,7 +49,7 @@ if ($timestamp) {
// convert timestamps to text for display
if (is_numeric($vars['value'])) {
- $vars['value'] = date('Y/m/d', $vars['value']);
+ $vars['value'] = date('Y-m-d', $vars['value']);
}
$attributes = elgg_format_attributes($vars);