Pulled TimeFormat over from weekly and renamed to DateFormat.

Fixes #1