Make API dates more compatible with Twitter - ticket 1432

This commit is contained in:
Zach Copley 2009-04-16 14:40:57 -07:00
parent bac3ee95c9
commit 4d0e4f733b

View 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?