fixed schedule api date bug