Overwatch-League-API-Documentation icon indicating copy to clipboard operation
Overwatch-League-API-Documentation copied to clipboard

Dates are incorrect when pulling from /schedule endpoint

Open ranamerp opened this issue 5 years ago • 0 comments

When pulling the startDate from the schedule endpoint, the start date of a specific match is off by a day.

Here is the data I got when I tried to search for dates based on a specific team (in this case the Chengdu Hunters): `ID: 21212 Winner: Chengdu Hunters Date Started: 2019-02-16T07:25:00.000Z

ID: 21233 Winner: Seoul Dynasty Date Started: 2019-02-22T06:50:00.000Z

ID: 21234 Winner: Chengdu Hunters Date Started: 2019-02-24T03:00:00.000Z

ID: 21215 Winner: Shanghai Dragons Date Started: 2019-03-02T06:15:00.000Z

ID: 21283 Winner: Toronto Defiant Date Started: 2019-03-08T06:20:00.000Z

ID: 21274 Winner: Vancouver Titans Date Started: 2019-03-11T02:00:00.000Z

ID: 21304 Winner: Chengdu Hunters Date Started: 2019-03-17T02:05:00.000Z

ID: 21220 Winner: Chengdu Hunters Date Started: 2019-04-07T02:05:00.000Z

ID: 21239 Winner: Chengdu Hunters Date Started: 2019-04-08T01:35:00.000Z

ID: 21258 Winner: Shanghai Dragons Date Started: 2019-04-13T05:45:00.000Z

ID: 21333 Winner: Los Angeles Gladiators Date Started: 2019-04-21T01:25:00.000Z

ID: 21344 Winner: Hangzhou Spark Date Started: 2019-04-27T20:10:00.000Z

ID: 21289 Winner: Chengdu Hunters Date Started: 2019-04-28T21:05:00.000Z

ID: 21372 Winner: Los Angeles Valiant Date Started: 2019-05-05T01:45:00.000Z

ID: 21365 Winner: Guangzhou Charge Date Started: 2019-06-07T04:25:00.000Z

ID: 21375 Winner: Los Angeles Valiant Date Started: 2019-06-09T01:30:00.000Z

ID: 21326 Winner: Chengdu Hunters Date Started: 2019-06-14T04:10:00.000Z

ID: 21385 Winner: Vancouver Titans Date Started: 2019-06-22T06:00:00.000Z

ID: 21320 Winner: Chengdu Hunters Date Started: 2019-06-23T20:25:00.000Z

ID: 21338 Winner: Chengdu Hunters Date Started: 2019-06-28T06:15:00.000Z

ID: 21451 Winner: Seoul Dynasty Date Started: 2019-07-01T02:00:00.000Z` All these dates are one day ahead of what the schedule posts.

ranamerp avatar Jul 19 '19 21:07 ranamerp