# date extension timezonedb generation

- Thread: https://externals.io/message/44975
- Original archive: https://news-web.php.net/php.internals/44975
- Started by Joe Orton on 2009-07-15T10:28:57+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #44975 — Joe Orton — 2009-07-15T10:28:57+00:00

URL: https://externals.io/message/44975#44975

Derick, do you make available the scripts used to generate timezonedb.h?

Are you using the location co-ordinates from zone.tab in the "Olson" 
database?  The data seems to mostly match up, though I noticed that the 
data shipped by PHP has Europe/London at:

  lat 51.50833 long 0.12527

whereas the current "Olson" data has it at:

  lat 51.50833 long -0.12528

aka +513030-0000731 in zone.tab - West of the meridian, not East.

Regards, Joe

---

## #45122 — Derick Rethans — 2009-07-28T15:35:44+00:00

URL: https://externals.io/message/44975#45122 · In reply to: #44975

> Derick, do you make available the scripts used to generate timezonedb.h?

They're at http://cvs.xdebug.org/cgi-bin/viewvc.cgi/timelib/zones/
> 
> Are you using the location co-ordinates from zone.tab in the "Olson" 
> database?

Yes, but there was a tiny bug with the sign. It's fixed now in SVN, 
thanks for the report.

regards,
Derick

-- 
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr
