Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add start and end time options for the report period.
These options, --start-time and --end-time, take ISO 8601 date/times (e.g., '2011-03-02T14:00:00-05:00'), and can be used to set any arbitrary reporting period you want. The "previous" period will be the same length, one week earlier. (Note all the labels say "vs. last week" for the percentage change values, but that should be roughly accurate for most uses.) I added this because I noticed that using the current rotation period only works if no irregular exceptions are set. If you have a weekly rotation and someone sets a two-day exception, the report will only cover the two-day period versus the same two days a week ago. Not as useful. So, this works around that problem for now.
- Loading branch information