mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-16 06:21:28 +01:00
Suuport UTF8 format
This commit is contained in:
@@ -456,7 +456,11 @@ function dolibarr_print_date($time,$format='',$to_gmt=false,$convtooutput=true)
|
||||
// Date is a timestamps
|
||||
$ret=adodb_strftime($format,$time,$to_gmt);
|
||||
}
|
||||
return ($convtooutput?$langs->convToOuptutCharset($ret):$ret);
|
||||
|
||||
// Page code for text from strftime functions
|
||||
$pagecodefrom='ISO-8859-1';
|
||||
|
||||
return ($convtooutput?$langs->convToOuptutCharset($ret,$pagecodefrom):$ret);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user