From: Zach Copley Date: Thu, 16 Apr 2009 21:40:57 +0000 (-0700) Subject: Make API dates more compatible with Twitter - ticket 1432 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d0e4f733bdfa281487f370b70f5f7440a7ef931;p=quix0rs-gnu-social.git Make API dates more compatible with Twitter - ticket 1432 --- diff --git a/lib/twitterapi.php b/lib/twitterapi.php index b8357c6889..6a90b4e288 100644 --- a/lib/twitterapi.php +++ b/lib/twitterapi.php @@ -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?