Main page chart date fix