Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined timezone for a specific longitude and latitude #22

Closed
baneJack opened this issue Aug 3, 2023 · 4 comments
Closed

Undefined timezone for a specific longitude and latitude #22

baneJack opened this issue Aug 3, 2023 · 4 comments
Assignees

Comments

@baneJack
Copy link

baneJack commented Aug 3, 2023

Hi,

No timezone for latitude:"90" and "longitude":"0"
Normally timezone must be :"Etc\GMT"

Thank you

@ext-wki
Copy link

ext-wki commented Jan 23, 2024

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

@noandrea noandrea self-assigned this Jan 23, 2024
@noandrea
Copy link
Owner

@ext-wki thanks for reporting, I will push a release asap

@noandrea
Copy link
Owner

@baneJack the results comes from the timezone-boundary-builder, what it can be done is to add a feature to allow to define custom overrides for lat/lon coordinates, wdyt?

@noandrea
Copy link
Owner

fixed in v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants