From: Evan Prodromou Date: Fri, 4 Mar 2011 20:26:25 +0000 (-0500) Subject: format Atom datetimes as UTC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64925a275e8393a234183e0b97c0711ed56876a6;p=quix0rs-gnu-social.git format Atom datetimes as UTC --- diff --git a/lib/activity.php b/lib/activity.php index b781e49846..837be94ece 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -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'); } }