diff options
author | Sem <sembrestels@riseup.net> | 2013-02-21 00:52:32 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-02-21 00:52:32 +0100 |
commit | 9cffddf0969ee63002c2a6c3574bdc796849e9ee (patch) | |
tree | fe54c11998ad4bfdbb741f8605c0c245ad35b2da /views/default/output | |
parent | c6bf8d8ab9463722da4e1e0323c3383e08b8924e (diff) | |
download | elgg-9cffddf0969ee63002c2a6c3574bdc796849e9ee.tar.gz elgg-9cffddf0969ee63002c2a6c3574bdc796849e9ee.tar.bz2 |
Using ISO 8601 in time datetime attribute.
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/friendlytime.php | 2 |
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>"; |