forked from Wavyzz/dolibarr
Update date.lib.php
This commit is contained in:
@@ -124,7 +124,7 @@ function getServerTimeZoneInt($refgmtdate = 'now')
|
||||
*/
|
||||
function dol_time_plus_duree($time, $duration_value, $duration_unit, $ruleforendofmonth = 0)
|
||||
{
|
||||
if (empty($duration_value)) {
|
||||
if (!isDolTms($duration_value)) {
|
||||
return $time;
|
||||
}
|
||||
if ($duration_unit == 's') {
|
||||
|
||||
Reference in New Issue
Block a user