2
0
forked from Wavyzz/dolibarr

FIX Test when date of invoie is in future (pb with TZ and offset)

This commit is contained in:
Laurent Destailleur
2021-09-23 02:10:39 +02:00
parent 2bd0fdd364
commit 51b6318f88
3 changed files with 39 additions and 36 deletions

View File

@@ -2487,7 +2487,7 @@ function dol_getdate($timestamp, $fast = false, $forcetimezone = '')
* False or 0 or 'tzserver' = local to server TZ
* 'auto'
* 'tzuser' = local to user TZ taking dst into account at the current date. Not yet implemented.
* 'tzuserrel' = local to user TZ taking dst into account at the given date. Use this one to convert date input from user.
* 'tzuserrel' = local to user TZ taking dst into account at the given date. Use this one to convert date input from user into a GMT date.
* 'tz,TimeZone' = use specified timezone
* @param int $check 0=No check on parameters (Can use day 32, etc...)
* @return int|string Date as a timestamp, '' or false if error