mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix: Replacement of adodb is ok now.
Fix: Search criteria lost
This commit is contained in:
@@ -804,13 +804,13 @@ function dol_print_date($time,$format='',$tzoutput='tzserver',$outputlangs='',$e
|
||||
$to_gmt=false;
|
||||
$offsettz=$offsetdst=0;
|
||||
}
|
||||
if ($tzoutput == 'tzuser')
|
||||
elseif ($tzoutput == 'tzuser')
|
||||
{
|
||||
$to_gmt=true;
|
||||
$offsettz=(empty($_SESSION['dol_tz'])?0:$_SESSION['dol_tz'])*60*60;
|
||||
$offsetdst=(empty($_SESSION['dol_dst'])?0:$_SESSION['dol_dst'])*60*60;
|
||||
}
|
||||
if ($tzoutput == 'tzcompany')
|
||||
elseif ($tzoutput == 'tzcompany')
|
||||
{
|
||||
$to_gmt=false;
|
||||
$offsettz=$offsetdst=0; // TODO Define this and use it later
|
||||
|
||||
Reference in New Issue
Block a user