Test cases and bug fixes
Lots of bugfixes
Fixed -wed case
Distinguish formatting dates and datetimes
Bugfix in times rendering
Major clean up