format Atom datetimes as UTC

This commit is contained in:
Evan Prodromou 2011-03-04 15:26:25 -05:00
parent 6b5d183bac
commit 316fd01e20

View File

@ -708,7 +708,6 @@ class Activity
{
$dateStr = date('d F Y H:i:s', $tm);
$d = new DateTime($dateStr, new DateTimeZone('UTC'));
$d->setTimezone(new DateTimeZone(common_timezone()));
return $d->format('c');
}
}