Fix date issue

Title says it all.