New: Add timezone
This commit is contained in:
parent
306fec7fdd
commit
58b822c806
@ -61,9 +61,13 @@ print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("LanguageParameter","
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("LanguageParameter","PHP LC_MONETARY")."</td><td>".setlocale(LC_MONETARY,0)."</td></tr>\n";
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("ServerTZ")."</td><td>".$_ENV["TZ"]."</td></tr>\n";
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("PHPTZ")." (date.timezone)</td><td>".ini_get("date.timezone")."</td></tr>\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("ServerTZ")." (TZ)</td><td>".$_ENV["TZ"]."</td></tr>\n";
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("PHPServerOffsetWithGreenwich")."</td><td>".(- dolibarr_mktime(0,0,0,1,1,1970))."</td></tr>\n";
|
||||
$var=!$var;
|
||||
print "<tr ".$bc[$var]."><td width=\"300\">".$langs->trans("CurrentHour")."</td><td>".dolibarr_print_date(time(),'dayhour')."</td></tr>\n";
|
||||
print '</table>';
|
||||
print '<br>';
|
||||
|
||||
|
||||
@ -72,7 +72,9 @@ LocalisationDolibarrParameters=Localisation parameters
|
||||
CurrentDolibarrLanguage=Dolibarr current language
|
||||
DolibarrTZ=Time Zone
|
||||
ServerTZ=Server Time Zone
|
||||
PHPTZ=PHP Time Zone
|
||||
PHPServerOffsetWithGreenwich=Server PHP Offset width Greenwich (secondes)
|
||||
CurrentHour=Current hour
|
||||
OSEnv=OS Environment
|
||||
Box=Box
|
||||
Boxes=Boxes
|
||||
|
||||
@ -72,7 +72,9 @@ LocalisationDolibarrParameters=Param
|
||||
CurrentDolibarrLanguage=Langue Dolibarr courante
|
||||
DolibarrTZ=Time Zone
|
||||
ServerTZ=Serveur Time Zone
|
||||
PHPTZ=PHP Time Zone
|
||||
PHPServerOffsetWithGreenwich=Serveur PHP offset avec Greenwich (secondes)
|
||||
CurrentHour=Heure courante
|
||||
OSEnv=Environnement OS
|
||||
Box=Boîte
|
||||
Boxes=Boîtes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user