noandrea / geo2tz

A self-hostable REST-like API to get the time zone from geo coordinates
MIT License
71 stars 15 forks source link

Location for Europe/Rome not found #36

Closed noandrea closed 3 months ago

noandrea commented 3 months ago

Hi, there are more not working coordinates. The service is returning 500 error on them. I've compared with timeshape lib which is also based on timezone-boundary-builder and it returned the timezone.

curl -v http://localhost:2004/tz/43.42582/11.831443
*   Trying [::1]:2004...
* Connected to localhost (::1) port 2004
> GET /tz/43.42582/11.831443 HTTP/1.1
> Host: localhost:2004
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Access-Control-Allow-Origin: *
< Content-Type: application/json; charset=UTF-8
< Vary: Origin
< Date: Tue, 23 Jan 2024 06:51:40 GMT
< Content-Length: 40
<
{"message":"Error: Timezone not found"}
* Connection #0 to host localhost left intact

Originally posted by @ext-wki in https://github.com/noandrea/geo2tz/issues/22#issuecomment-1905393346

noandrea commented 3 months ago

fixed in https://github.com/noandrea/geo2tz/releases/tag/v2.4.0