fix startDate to endDate time series request