From 6abd5d478aeed6738685feea0e3508389e0f1293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 23 Aug 2018 17:15:14 +0200 Subject: [PATCH] Update functions.lib.php --- htdocs/core/lib/functions.lib.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 92cab65b7b2..8a06a0d7764 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6146,7 +6146,12 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob $substitutionarray=array_merge($substitutionarray, array( '__DAY__' => (string) $tmp['mday'], + '__DAY_TEXT__' => $outputlangs->trans('Day'.$tmp['wday']), + '__DAY_TEXT_SHORT__' => $outputlangs->trans('Short'.$tmp['weekday']), + '__DAY_TEXT_MIN__' => $outputlangs->trans($tmp['weekday'].'Min'), '__MONTH__' => (string) $tmp['mon'], + '__MONTH_TEXT__' => $outputlangs->trans($tmp['month']), + '__MONTH_TEXT_MIN__' => $outputlangs->trans($tmp['month'].'Min'), '__YEAR__' => (string) $tmp['year'], '__PREVIOUS_DAY__' => (string) $tmp2['day'], '__PREVIOUS_MONTH__' => (string) $tmp3['month'],