better date formatting fixes #41