Formatting date. Fixes #9