diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-03-31 14:39:54 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-03-31 14:39:54 +0100 |
| commit | dfeee0a8cc44423210f397a87295fbfc8bef632e (patch) | |
| tree | 4e4c1922c769752cb5918c5fa864bff4fb6c7f95 /help_text.php | |
| parent | ecd213b922a26e41c6f167ba370ddf9e4c80862c (diff) | |
| download | webtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.tar.gz webtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.tar.bz2 webtrees-dfeee0a8cc44423210f397a87295fbfc8bef632e.zip | |
Remove global $DATE_FORMAT
Diffstat (limited to 'help_text.php')
| -rw-r--r-- | help_text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help_text.php b/help_text.php index fe1bda984a..c9c97e5cfe 100644 --- a/help_text.php +++ b/help_text.php @@ -139,7 +139,7 @@ case 'DATE': $date = strip_tags($date->display(false, null, false)); } // These shortcuts work differently for different languages - switch (preg_replace('/[^DMY]/', '', str_replace(array('J', 'F'), array('D', 'M'), strtoupper($DATE_FORMAT)))) { + switch (preg_replace('/[^DMY]/', '', str_replace(array('J', 'F'), array('D', 'M'), I18N::dateFormat()))) { case 'YMD': $example1 = '11/12/1913'; // Note: we ignore the DMY order if it doesn't make sense. $example2 = '03/02/01'; |
