2
0
forked from Wavyzz/dolibarr

PHP8.1 strftime("%Y%m%d%H%M") => dol_print_date(dol_now('gmt'),

"dayhourlogsmall", 'tzuser')
This commit is contained in:
Laurent Destailleur
2022-05-24 11:54:05 +02:00
parent 30e300fbc8
commit 43be070300
3 changed files with 6 additions and 3 deletions

View File

@@ -2453,6 +2453,9 @@ function dol_print_date($time, $format = '', $tzoutput = 'auto', $outputlangs =
} elseif ($format == 'dayhourlog') {
// Format not sensitive to language
$format = '%Y%m%d%H%M%S';
} elseif ($format == 'dayhourlogsmall') {
// Format not sensitive to language
$format = '%Y%m%d%H%M';
} elseif ($format == 'dayhourldap') {
$format = '%Y%m%d%H%M%SZ';
} elseif ($format == 'dayhourxcard') {