]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make API dates more compatible with Twitter - ticket 1432
authorZach Copley <zach@controlyourself.ca>
Thu, 16 Apr 2009 21:40:57 +0000 (14:40 -0700)
committerZach Copley <zach@controlyourself.ca>
Thu, 16 Apr 2009 21:40:57 +0000 (14:40 -0700)
lib/twitterapi.php

index b8357c6889545e9a1f5d191b1401637fd0a09e94..6a90b4e2885701d83c99cfe93d08ac0afdf48161 100644 (file)
@@ -418,7 +418,7 @@ class TwitterapiAction extends Action
     function date_twitter($dt)
     {
         $t = strtotime($dt);
-        return date("D M d G:i:s O Y", $t);
+        return date("D M d H:i:s O Y", $t);
     }
 
     // XXX: Candidate for a general utility method somewhere?