opotemkin
Joined: 10/10/2017 19:34:44
Messages: 1
Offline
|
Hi! i make request with api
http://api.geonames.org/timezoneJSON?lat=47.106719&lng=51.90313
and see response:
{
sunrise: "2017-10-10 07:42",
lng: 51.90313,
countryCode: "KZ",
gmtOffset: 5,
rawOffset: 5,
sunset: "2017-10-10 18:55",
timezoneId: "Asia/Atyrau",
dstOffset: 5,
countryName: "Kazakhstan",
time: "2017-10-10 22:38",
lat: 47.106719
}
And if I make request with "ws", but I get another timezoneId from response:
{
sunrise: "2017-10-10 07:42",
lng: 51.90313,
countryCode: "KZ",
gmtOffset: 5,
rawOffset: 5,
sunset: "2017-10-10 18:55",
timezoneId: "Asia/Oral",
dstOffset: 5,
countryName: "Kazakhstan",
time: "2017-10-10 22:39",
lat: 47.106719
}
My server returns wrong to me: "Do not know timezone "Asia/Atyrau".
And why api and ws returns different answers?
Thanks
|