Skip to content

Commit

Permalink
📝 dateformat in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei committed Sep 29, 2021
1 parent 75dc09a commit 9485a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ If you use these defaults you need to provide the fields `date (type: date)` and
'textfield' => 'text',
'modified' => time(),
'snippet' => 'feed/rss', // 'feed/json'
'dateformat' => 'r',
'mime' => null,
'sort' => true,
]
Expand Down Expand Up @@ -131,6 +132,7 @@ If you use these defaults you need to provide the fields `date (type: date)` and

```php
[
'dateformat' => 'c',
'xsl' => true,
'urlfield' => 'url',
'modified' => time(),
Expand Down

0 comments on commit 9485a96

Please sign in to comment.