diff options
| author | 2020-07-14 10:51:45 +0200 | |
|---|---|---|
| committer | 2020-07-14 10:51:45 +0200 | |
| commit | 8d8211b2a5fa997bce06d7ae0c6f7cf37f97b245 (patch) | |
| tree | 0cb2f8da03c8470a14c411cf2477be0e2047255b /app/views/helpers/index/normal/entry_bottom.phtml | |
| parent | 877f5f539b82db2e59ecf7257fce18dc9245f310 (diff) | |
Add machine-readable dates in views (#3106)
This will allow to make some transformations on dates when needed.
See #3103 and #853
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
| -rw-r--r-- | app/views/helpers/index/normal/entry_bottom.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index fa2b8f036..1c1a1c8f1 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -107,7 +107,7 @@ <?php } ?> </li><?php if ($bottomline_date) { - ?><li class="item date"><?= $this->entry->date() ?></li><?php + ?><li class="item date"><time datetime="<?= $this->entry->machineReadableDate() ?>"><?= $this->entry->date() ?></time> </li><?php } if ($bottomline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= _i('link') ?></a></li><?php |
