diff --git a/workflow/engine/skinEngine/skinEngine.php b/workflow/engine/skinEngine/skinEngine.php index cf49a6740..8595df47f 100755 --- a/workflow/engine/skinEngine/skinEngine.php +++ b/workflow/engine/skinEngine/skinEngine.php @@ -390,8 +390,10 @@ class SkinEngine $smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: ''); $uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING'); $smarty->assign('workspace_label', $uws); - $smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG)); - + + G::LoadClass( "configuration" ); + $conf = new Configurations(); + $smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));//G::getformatedDate(date('Y-m-d'), $currentFormat, SYS_LANG)); } if (defined('SYS_SYS')) { @@ -642,7 +644,10 @@ class SkinEngine $smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: ''); $uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING'); $smarty->assign('workspace_label', $uws); - $smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG)); + + G::LoadClass( "configuration" ); + $conf = new Configurations(); + $smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));//G::getformatedDate(date('Y-m-d'), $currentFormat, SYS_LANG)); } if(class_exists('pmLicenseManager')){