upgrading table tools to version 2.1.5

This commit is contained in:
Naomi 2013-08-12 18:18:33 -04:00
parent b65007868a
commit fdf18ec3ce
31 changed files with 1857 additions and 827 deletions

View file

@ -264,6 +264,15 @@ class Application_Service_HistoryService
$dateTime = new DateTime($result["ends"], $timezoneUTC);
$dateTime->setTimezone($timezoneLocal);
$result["ends"] = $dateTime->format("Y-m-d H:i:s");
if (isset($result[MDATA_KEY_DURATION])) {
$formatter = new LengthFormatter($result[MDATA_KEY_DURATION]);
$result[MDATA_KEY_DURATION] = $formatter->format();
}
//$unicodeChar = '\u2612';
//$result["new"] = json_decode('"'.$unicodeChar.'"');
//$result["new"] = "U+2612";
}
return array(