Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

Commit 9d15135

Browse files
author
kurtw
committed
Change date format to ISO8601
1 parent c376531 commit 9d15135

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

singletons/query.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
use \DateTime;
23

34
class JSON_API_Query {
45

56
// Default values
67
protected $defaults = array(
7-
'date_format' => 'Y-m-d H:i:s',
8+
'date_format' => Datetime::ISO8601,
89
'read_more' => 'Read more'
910
);
1011

0 commit comments

Comments
 (0)