prices API timezone is messy

1 post / 0 new
vitolomele
prices API timezone is messy

Hi!

What is the timezone of the "prices" endpoint supposed to be?
When I query:

https://api.ig.com/gateway/deal/prices/CS.D.EURUSD.MINI.IP?
resolution=MINUTE&
from=2017-10-03T22:59:00
&to=2017-10-03T22:59:00

I expect to get prices for 2017-10-03T22:59:00, but I get:

"prices": [{
"snapshotTime": "2017/10/03 23:59:00",
"snapshotTimeUTC": "2017-10-03T21:59:00",
... }]

I am quite confused! What are the timezone rules here?

thanks
Vito