Fixed date issues on index page