Fix date formatting #2

Correct issue #2