FIXING BUG: The main screen system date never was being displayed correctly on differents languages than english (2nd commit)

This commit is contained in:
Erik Amaru Ortiz
2013-05-29 17:00:30 -04:00
parent f50634f24c
commit 3bc675492a

View File

@@ -726,7 +726,7 @@ class SkinEngine
G::LoadClass( "configuration" );
$conf = new Configurations();
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 {
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
}