Fixes to date/time output.