Small adjustment to regex test of the --days option to allow negative days.
I had a use case where I wanted to create logs between certain days in the past. After this change, I'm able to run this on July 25:
node scripts/makelogs --days 7/-4
to create:
Generating 14000 events from 2018-07-18T00:00:00Z to 2018-07-21T23:59:59Z
Small adjustment to regex test of the
--days
option to allow negative days.I had a use case where I wanted to create logs between certain days in the past. After this change, I'm able to run this on July 25:
node scripts/makelogs --days 7/-4
to create:Generating 14000 events from 2018-07-18T00:00:00Z to 2018-07-21T23:59:59Z
Also some tiny typo fixes.