Merge pull request #13 from gerundt/date_format
Add "date_modified_format" option to html export
This commit is contained in:
@ -72,7 +72,7 @@ To disable this feature, set the `float` property to `false`.
|
||||
|
||||
## Date Modified
|
||||
By default, daux.io will display the last modified time as reported by the system underneath the title for each document.
|
||||
To disable this, change the option in your config.json to false.
|
||||
To disable this, change the option in your config.json to `false`.
|
||||
|
||||
```json
|
||||
{
|
||||
@ -80,6 +80,17 @@ To disable this, change the option in your config.json to false.
|
||||
}
|
||||
```
|
||||
|
||||
If you want to use the last modified time you can set the [format](http://php.net/manual/function.date.php) with the `date_modified_format` option.
|
||||
|
||||
```json
|
||||
{
|
||||
"html": {
|
||||
"date_modified": true,
|
||||
"date_modified_format": "l, F j, Y g:i A"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## GitHub Repo
|
||||
Add a 'Fork me on GitHub' ribbon.
|
||||
|
||||
|
Reference in New Issue
Block a user