diff options
author | Sem <sembrestels@riseup.net> | 2012-07-31 22:09:18 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-31 22:09:18 +0200 |
commit | eedfbb15b8d1e81e2e11b34f02b68df6700b288d (patch) | |
tree | 53cf37c05021bf50184843980a961239e39ffe28 /views/default/output | |
parent | 38342cd98c03c9aacd985f97557148eeed628c42 (diff) | |
download | elgg-eedfbb15b8d1e81e2e11b34f02b68df6700b288d.tar.gz elgg-eedfbb15b8d1e81e2e11b34f02b68df6700b288d.tar.bz2 |
Added doctype, header, footer and aside tags. Fixed time tag.
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/friendlytime.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/output/friendlytime.php b/views/default/output/friendlytime.php index 3618e7f56..c9c74e880 100644 --- a/views/default/output/friendlytime.php +++ b/views/default/output/friendlytime.php @@ -8,5 +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'])); -echo "<time title=\"$timestamp\" class=\"timestamp\">$friendly_time</time>"; +echo "<time title=\"$timestamp\" datetime=\"$datetime\" class=\"timestamp\">$friendly_time</time>"; |