aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/friendlytime.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/output/friendlytime.php')
-rw-r--r--views/default/output/friendlytime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/friendlytime.php b/views/default/output/friendlytime.php
index c9c74e880..b752b74ce 100644
--- a/views/default/output/friendlytime.php
+++ b/views/default/output/friendlytime.php
@@ -8,6 +8,6 @@
$friendly_time = elgg_get_friendly_time($vars['time']);
$timestamp = htmlentities(date(elgg_echo('friendlytime:date_format'), $vars['time']));
-$datetime = htmlentities(date("Y-m-d h:m", $vars['time']));
+$datetime = htmlentities(date("c", $vars['time']));
echo "<time title=\"$timestamp\" datetime=\"$datetime\" class=\"timestamp\">$friendly_time</time>";