forked from GNUsocial/gnu-social
Make API dates more compatible with Twitter - ticket 1432
This commit is contained in:
parent
bac3ee95c9
commit
4d0e4f733b
@ -418,7 +418,7 @@ class TwitterapiAction extends Action
|
|||||||
function date_twitter($dt)
|
function date_twitter($dt)
|
||||||
{
|
{
|
||||||
$t = strtotime($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?
|
// XXX: Candidate for a general utility method somewhere?
|
||||||
|
Loading…
Reference in New Issue
Block a user