mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
API: Fix date format
This commit is contained in:
parent
6b374c01ce
commit
5bd51b156a
5 changed files with 7 additions and 6 deletions
|
@ -31,9 +31,10 @@ use Exception;
|
|||
*/
|
||||
class DateTimeFormat
|
||||
{
|
||||
const ATOM = 'Y-m-d\TH:i:s\Z';
|
||||
const ATOM = 'Y-m-d\TH:i:s\Z';
|
||||
const MYSQL = 'Y-m-d H:i:s';
|
||||
const HTTP = 'D, d M Y H:i:s \G\M\T';
|
||||
const HTTP = 'D, d M Y H:i:s \G\M\T';
|
||||
const API = 'Y-m-d\TH:i:s.000\Z';
|
||||
|
||||
/**
|
||||
* convert() shorthand for UTC.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue