Use specific python to apease apache daemon.
Remove std err redirection as it messes with the location of the index file in the response.
Refactor - extract deadline dates method.
Remove warning about invalid index and use a more sensible default date.
Use correct date format.
Use correct date format.
Missing quotes causing warning.