summaryrefslogtreecommitdiff
path: root/resources/views/modules/todays_events/list.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-11-11 06:49:16 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-11-18 09:14:43 +0000
commit2decada70ae5df289448aadc0d1089d2606545d1 (patch)
treec1c7127743c6a2e3822d8f76a20b6b6e6204db6b /resources/views/modules/todays_events/list.phtml
parent4fb14fcb5ee76066edbf821710fa9ec3480291bf (diff)
downloadwebtrees-2decada70ae5df289448aadc0d1089d2606545d1.tar.gz
webtrees-2decada70ae5df289448aadc0d1089d2606545d1.tar.bz2
webtrees-2decada70ae5df289448aadc0d1089d2606545d1.zip
Rename Fact::getDate() to date()
Diffstat (limited to 'resources/views/modules/todays_events/list.phtml')
-rw-r--r--resources/views/modules/todays_events/list.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/modules/todays_events/list.phtml b/resources/views/modules/todays_events/list.phtml
index 26ac326644..6149117d4a 100644
--- a/resources/views/modules/todays_events/list.phtml
+++ b/resources/views/modules/todays_events/list.phtml
@@ -10,7 +10,7 @@
<?= $record->getSexImage() ?>
<?php endif ?>
<div class="indent">
- <?= $fact->getLabel() . ' — ' . $fact->getDate()->display(true); ?>
+ <?= $fact->getLabel() . ' — ' . $fact->date()->display(true); ?>
<?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?>
<?php if (!$fact->place()->isEmpty()) : ?>
<?= ' — <a href="' . $fact->place()->getURL() . '">' . $fact->place()->getFullName() . '</a>'; ?>