format Atom datetimes as UTC

This commit is contained in:
Evan Prodromou 2011-03-04 15:26:25 -05:00
parent 87f6c66029
commit 64925a275e

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');
}
}