<?php


$ts = !empty($date) ? strtotime((string) $date) : false;
if ($ts === false) {
    return;  
}
?>
<p class="page-updated">
    <time datetime="<?= date('Y-m-d', $ts) ?>"><?= htmlspecialchars(__('page_last_updated')) ?> <?= htmlspecialchars(Format::date((string) $date)) ?></time>
</p>
