Fixed add entry date issue.