]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
format Atom datetimes as UTC
authorEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 20:26:25 +0000 (15:26 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 20:27:37 +0000 (15:27 -0500)
lib/activity.php

index b781e498467f0331dbf9dd10db41d015b0cf1faa..837be94ece7c9a5268112d5fe3e72cbd06e5414d 100644 (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');
     }
 }