]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' into activityexport
authorEvan Prodromou <evan@status.net>
Thu, 16 Sep 2010 03:31:20 +0000 (23:31 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 16 Sep 2010 03:31:20 +0000 (23:31 -0400)
1  2 
lib/activity.php
lib/activitycontext.php

index d3c725e630bd9e7d0cd307b6f231211589f300b0,09a4daee828192e1827c0a31e4e4b2756db28322..f19f10e34dabfd647478d198ea2077c1ba3aaefe
@@@ -388,13 -386,4 +388,12 @@@ class Activit
      {
          return ActivityUtils::child($element, $tag, $namespace);
      }
 +
 +    static function iso8601Date($tm)
 +    {
 +        $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');
 +    }
  }
Simple merge