Handling %s format strings

Philip Ross phil.ross at gmail.com
Mon Mar 27 21:59:01 UTC 2006


Paul Eggert wrote:
> 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....

I'd read the zic man page, but hadn't got round to checking the source 
in any detail.

I'll have a go at implementing this.

Thanks,

Phil



More information about the tz mailing list