Enable filtering of logs by date and time

* Grab date & time from user selection in UI
* Parse the data in JS and pass to `main.py`
* Parse data in `main.py`
* Construct timedate objects using the incoming data
* Decide which query to perform based on which values exist
* Clean up code with Flake8