fixed weekend/chart date bug