Explorar o código

Display the dates of the history according to the date/time format defined for this language.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4085 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=9) %!d(string=hai) anos
pai
achega
3a23cc3007
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/displayblock.class.inc.php

+ 1 - 1
application/displayblock.class.inc.php

@@ -1280,7 +1280,7 @@ EOF
 		$aValues = array();
 		$aValues = array();
 		foreach($aChanges as $aChange)
 		foreach($aChanges as $aChange)
 		{
 		{
-			$aValues[] = array('date' => $aChange['date'], 'userinfo' => htmlentities($aChange['userinfo'], ENT_QUOTES, 'UTF-8'), 'log' => "<ul><li>".implode('</li><li>', $aChange['log'])."</li></ul>");
+			$aValues[] = array('date' => AttributeDateTime::GetFormat()->Format($aChange['date']), 'userinfo' => htmlentities($aChange['userinfo'], ENT_QUOTES, 'UTF-8'), 'log' => "<ul><li>".implode('</li><li>', $aChange['log'])."</li></ul>");
 		}
 		}
 		$sHtml .= $oPage->GetTable($aAttribs, $aValues);
 		$sHtml .= $oPage->GetTable($aAttribs, $aValues);
 		return $sHtml;
 		return $sHtml;