Hi
Am I correct in thinking that the marketCatalogue marketStartTime is always GMT? And includes daylight saving adjustments?
The marketStartTime returned for an event tomorrow is 29/03/2015 at 01:09 but as the daylight saving comes into effect at 1am then the period from 1am to 2am effectively does not exist. So is this an error or am I missunderstanding the way times are returned by API-NG? This is causing me a problem with datetime conversions.
Here is the JSon request and response:
Request: {"method":"SportsAPING\/v1.0\/listMarketCatalogue","params":{"filter":{"marketTy peCodes":["WIN"],"marketStartTime":{"to":"2015-03-29T03:00:00.000+01:00","from":"2015-03-29T00:46:00.000Z"},"eventIds":["27407991"],"eventTypeIds":["7"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","EVENT_TYPE","MARKET_START_T IME"],"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2.0" }
Response: {"jsonrpc":"2.0","result":[{"marketId":"1.117974712","marketName":"R8 1m Mdn Claim","marketStartTime":"2015-03-29T01:10:00.000Z","totalMatched":0.0,"eventType":{ "id":"7","name":"Horse Racing"},"event":{"id":"27407991","name":"Penn (US) 28th Mar","countryCode":"US","timezone":"US/Eastern","venue":"Penn National","openDate":"2015-03-28T22:00:00.000Z"}}],"id":"1"}
Am I correct in thinking that the marketCatalogue marketStartTime is always GMT? And includes daylight saving adjustments?
The marketStartTime returned for an event tomorrow is 29/03/2015 at 01:09 but as the daylight saving comes into effect at 1am then the period from 1am to 2am effectively does not exist. So is this an error or am I missunderstanding the way times are returned by API-NG? This is causing me a problem with datetime conversions.
Here is the JSon request and response:
Request: {"method":"SportsAPING\/v1.0\/listMarketCatalogue","params":{"filter":{"marketTy peCodes":["WIN"],"marketStartTime":{"to":"2015-03-29T03:00:00.000+01:00","from":"2015-03-29T00:46:00.000Z"},"eventIds":["27407991"],"eventTypeIds":["7"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","EVENT_TYPE","MARKET_START_T IME"],"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2.0" }
Response: {"jsonrpc":"2.0","result":[{"marketId":"1.117974712","marketName":"R8 1m Mdn Claim","marketStartTime":"2015-03-29T01:10:00.000Z","totalMatched":0.0,"eventType":{ "id":"7","name":"Horse Racing"},"event":{"id":"27407991","name":"Penn (US) 28th Mar","countryCode":"US","timezone":"US/Eastern","venue":"Penn National","openDate":"2015-03-28T22:00:00.000Z"}}],"id":"1"}


Comment