Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

forceTZ for costal points #23

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Conversation

jbgriesner
Copy link
Contributor

The library (tzwhere) that Idunn uses to associate a timezone to a POI location fails when the POI is close to an ocean (c.f. mattbornski/tzwhere#8).

A small trick to avoid this problem is to force the timezone forceTZ=True which will return then the closest timezone.

@nlehuby nlehuby merged commit 5b3fa7e into Qwant:master Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants