thomascube
2012-01-06 6c0702e5e8fb5027254e459986f5a73edcc30221
Avoid use of 5.2 functions (#1488292)

1 files modified
3 ■■■■ changed files
program/include/main.inc 3 ●●●● patch | view | raw | blame | history
program/include/main.inc
@@ -1062,8 +1062,7 @@
  if (empty($ts))
    return '';
  $date = new DateTime;
  $date->setTimestamp($ts);
  $date = new DateTime("@".$ts);
  // convert to the right timezone
  $stz = date_default_timezone_get();