forked from GNUsocial/gnu-social
format Atom datetimes as UTC
This commit is contained in:
parent
6b5d183bac
commit
316fd01e20
@ -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