Only use 'date' command on cli input

We shouldn't have been accepting non-conformant inputs in data files.
Skip ImportError when loading cache

This causes the cache to be rewritten when dependencies have changed.
[QA] Use standard code, not code-block, directive