fixes #18
fixes unwanted whitespace in date formatting