8000 GitHub - rspilk/find-timezone: Find timezone based on coordinates
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rspilk/find-timezone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

find-timezone

Find timezone based on coordinates

put both files in the same directory,

To run

python find_timezone.py --lat 12.345 --lon 67.890

(returns 'Asia/Kolkata' at Closest Match: 12.30814, 75.10632)

will return 'guess' based on the list provided in timezones.dat. This information was obtained from https://gist.github.com/laurentdebricon and the gist https://gist.github.com/laurentdebricon/1769458

Since timezones are often very "tall" I should have given an error term that is up/down and then sorted a best guess based on the left/right..

Might re-write at some point. For now it serves.

About

Find timezone based on coordinates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0