summaryrefslogtreecommitdiff
path: root/app/Date.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-03-31 14:39:54 +0100
committerGreg Roach <fisharebest@gmail.com>2015-03-31 14:39:54 +0100
commitdfeee0a8cc44423210f397a87295fbfc8bef632e (patch)
tree4e4c1922c769752cb5918c5fa864bff4fb6c7f95 /app/Date.php
parentecd213b922a26e41c6f167ba370ddf9e4c80862c (diff)
downloadwebtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.tar.gz
webtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.tar.bz2
webtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.zip
Remove global $DATE_FORMAT
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 5fcc98bf2c..af93905dca 100644
--- a/app/Date.php
+++ b/app/Date.php
@@ -219,7 +219,7 @@ class Date {
$CALENDAR_FORMAT = $WT_TREE->getPreference('CALENDAR_FORMAT');
if ($date_format === null) {
- $date_format = /* I18N: This is the format string for full dates. See http://php.net/date for codes */ I18N::noop('%j %F %Y');
+ $date_format = I18N::dateFormat();
}
if ($convert_calendars) {