We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b19906 + 7370732 commit c58eff3Copy full SHA for c58eff3
inc/template.php
@@ -948,15 +948,16 @@ function tpl_pageinfo($ret = false)
948
}
949
950
$fn = utf8_decodeFN($fn);
951
- $date = dformat($INFO['lastmod']);
+ $dateLocal = dformat($INFO['lastmod']);
952
+ $dateIso = date(DATE_ISO8601, $INFO['lastmod']);
953
954
// print it
955
if ($INFO['exists']) {
956
$out = '<bdi>' . $fn . '</bdi>';
957
$out .= ' · ';
958
$out .= $lang['lastmod'];
959
$out .= ' ';
- $out .= $date;
960
+ $out .= '<time datetime="' . $dateIso . '">' . $dateLocal . '</time>';
961
if ($INFO['editor']) {
962
$out .= ' ' . $lang['by'] . ' ';
963
$out .= '<bdi>' . editorinfo($INFO['editor']) . '</bdi>';
0 commit comments