summaryrefslogtreecommitdiff
path: root/app/Date.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Date.php')
-rw-r--r--app/Date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Date.php b/app/Date.php
index c2567c79a2..4daf8c70ff 100644
--- a/app/Date.php
+++ b/app/Date.php
@@ -257,7 +257,7 @@ class Date
public function display($url = false, $date_format = null, $convert_calendars = true)
{
// Do we need a new DateFormatterService class?
- $tree = app()->make(Tree::class);
+ $tree = app(Tree::class);
$CALENDAR_FORMAT = $tree->getPreference('CALENDAR_FORMAT');