postgresql/src/timezone
Tom Lane 0526889a63 Update time zone data files to tzdata release 2013h.
DST law changes in Argentina, Brazil, Jordan, Libya, Liechtenstein,
Morocco, Palestine.  New timezone abbreviations WIB, WIT, WITA for
Indonesia.
2013-12-01 14:12:17 -05:00
..
data Update time zone data files to tzdata release 2013h. 2013-12-01 14:12:17 -05:00
tznames Update time zone data files to tzdata release 2013h. 2013-12-01 14:12:17 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
ialloc.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
known_abbrevs.txt Update time zone data files to tzdata release 2013h. 2013-12-01 14:12:17 -05:00
localtime.c Fix edge-case behavior of pg_next_dst_boundary(). 2012-04-25 17:25:30 -04:00
Makefile Fix new timezone cross-compile rule to avoid a bug in gmake 3.78.1; 2009-01-06 02:25:29 +00:00
pgtz.c Fix some odd behaviors when using a SQL-style simple GMT offset timezone. 2013-11-01 12:13:38 -04:00
pgtz.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
private.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
README Update docs to point to the timezone library's new home at IANA. 2011-10-27 23:09:21 -04:00
scheck.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
strftime.c Sync timezone code with tzcode 2010c from the Olson group. This fixes some 2010-03-11 18:43:32 +00:00
tzfile.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
zic.c Sync timezone code with tzcode 2010c from the Olson group. This fixes some 2010-03-11 18:43:32 +00:00

src/timezone/README

Timezone
========

This is a PostgreSQL adapted version of the timezone library from
http://www.iana.org/time-zones

The source code can be found at:

	ftp://ftp.iana.org/tz/releases/tzcode*.tar.gz

The code is currently synced with release 2010c.  There are many cosmetic
(and not so cosmetic) differences from the original tzcode library, but
diffs in the upstream version should usually be propagated to our version.

The data files under data/ are an exact copy of the latest data set from:

	ftp://ftp.iana.org/tz/releases/tzdata*.tar.gz

Since time zone rules change frequently in some parts of the world,
we should endeavor to update the data files before each PostgreSQL
release.

At each update, we should check if time zone offsets have changed.
Just search for the current or previous year and see what has changed.
Sometimes a country changes its time zone offsets, for example Georgia
in 2004.  Just grepping in the zic database files for 2004 is enough to
spot such a change.  Then the files under tznames/ should be updated.