Merge remote-tracking branch 'origin/3.6' into 3.7

Conflicts:
	htdocs/compta/facture.php
	htdocs/user/fiche.php
This commit is contained in:
Laurent Destailleur
2014-11-16 15:46:08 +01:00
5 changed files with 9 additions and 4 deletions

View File

@@ -1100,7 +1100,11 @@ function dol_mktime($hour,$minute,$second,$month,$day,$year,$gm=false,$check=1)
$default_timezone=@date_default_timezone_get();
}
}
else $localtz = new DateTimeZone('UTC');
if (empty($localtz)) {
$localtz = new DateTimeZone('UTC');
}
$dt = new DateTime(null,$localtz);
$dt->setDate($year,$month,$day);
$dt->setTime((int) $hour, (int) $minute, (int) $second);