Add datetimeformat flag/option to cmd/config section

This commit is contained in:
Thor77 2016-09-17 22:47:04 +02:00
parent 799f622201
commit 08d282b6ca
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,8 @@ optional arguments:
-nod, --noonlinedc don't add connect until now to onlinetime
-t TEMPLATE, --template TEMPLATE
path to custom template
-dtf DATETIMEFORMAT, --datetimeformat DATETIMEFORMAT
format of date/time-values (datetime.strftime)
```
# Configuration
@ -46,6 +48,7 @@ optional arguments:
| debug | debug mode |
| onlinedc | Add timedelta from last-connect until now to onlinetime for connected clients |
| template | Path to a custom template file (relative from `tsstats/` or absolute) |
| datetimeformat | Format of date/time-values used for render-timestamp and last online (using [datetime.strftime](https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior)) |
## Example