format Atom datetimes as UTC
This commit is contained in:
parent
87f6c66029
commit
64925a275e
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user