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

Add time zone information #1

Merged
merged 3 commits into from
Jan 5, 2014
Merged

Add time zone information #1

merged 3 commits into from
Jan 5, 2014

Conversation

Capncavedan
Copy link
Contributor

READY

  1. Adds a time_zone identifier to all but 198 ZIP codes in the YAML file.
  2. Updates the YAML file load path construction slightly to allow using the code without the gem installed (i.e. while developing)
  3. Updates README with time zone info

I used information presented here http://stackoverflow.com/questions/2456324/mapping-us-zip-code-to-time-zone to match up time zones. Specifically, the MySQL table here http://sourceforge.net/projects/zip2timezone/files/ and the Wikipedia list of time zones by state here http://en.wikipedia.org/wiki/List_of_U.S._states_by_time_zone

The ruby script I used to generate update YAML is here https://gist.github.com/Capncavedan/8263983

@Ostrzy
Copy link
Contributor

Ostrzy commented Jan 5, 2014

Looks awesome! Thanks!

Ostrzy pushed a commit that referenced this pull request Jan 5, 2014
@Ostrzy Ostrzy merged commit 6653341 into monterail:master Jan 5, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants