diff options
author | nico <nico@magicbroccoli.de> | 2019-11-04 14:59:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 14:59:58 +0100 |
commit | b957dbc82c551c9119e77bcce6fc868ca1d09320 (patch) | |
tree | de4044d7a6b5f5f3c82796ad176a5aac7cfafd93 /.gitignore | |
parent | ad43e2117fdf000d599e7653053ef4ee8c67f1c3 (diff) |
feature: custom timeperiod (#3)
+ add ability to define a custom time period
This feature enables users to further narrow the expected query result by customizing the time period.
Every script feature is able to handle the custom timestamps, but beware no further consistency checks are done. Thus if you provide a stop timestamp that is prior to the start timestamp the output will be empty, no error whatsoever.
Timestamps must be conformal to the Python [datetime](https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior) module. The easiest way to achieve that is to use the ISO-8601 format from the unix date function:
```bash
$date -Ins -d "3 weeks ago"
$date --iso-8601 -d "3 weeks ago"
```
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions