get dates to work on front page.