FIXING BUG: The main screen system date never was being displayed correctly on differents languages than english (2nd commit)
This commit is contained in:
@@ -726,7 +726,7 @@ class SkinEngine
|
|||||||
G::LoadClass( "configuration" );
|
G::LoadClass( "configuration" );
|
||||||
$conf = new Configurations();
|
$conf = new Configurations();
|
||||||
if ( defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
if ( defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d H:i:s')));
|
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));
|
||||||
} else {
|
} else {
|
||||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user