Handling %s format strings

Paul Eggert eggert at CS.UCLA.EDU
Mon Mar 27 05:38:23 UTC 2006


Philip Ross <phil.ross at gmail.com> writes:

> Take Africa/Accra as an example. Starting from 1918, this zone uses
> the Ghana rules with a %s format string. The Ghana rules only start to
> be defined from 1936.

In this case, it's assumed that you start off in standard time, and
that you take the rule's first abbreviation that applies to standard
time.  For your example, that's "GMT".  If you inspect the 'zic'
source code you should see that rule in action.

No doubt this should be documented....



More information about the tz mailing list