[tz] zone file format very strict

Paul Eggert eggert at cs.ucla.edu
Fri Apr 1 17:27:31 UTC 2022


On 4/1/22 09:33, Alois Treindl via tz wrote:
> I noticed that the last line of a zone file like
> 
> # Zone  NAME            STDOFF  RULES FORMAT  [UNTIL]
> Zone    Asia/Kabul      4:36:48 -       LMT     1890
>                          4:00    -       +04     1945
>                          4:30    -       +0430
> 
> does not suffer a trailing TAB character, behind the +0430
I'm not seeing the problem. When I run 'zic -d . kabul.zi', where 
kabul.zi is the attached file, zic creates a file Asia/Kabul that looks 
correct (also attached). I'm using development-version zic.

Could you give a self-contained recipe for reproducing the problem that 
you're observing, including your zic version? Thanks.
-------------- next part --------------
Zone	Asia/Kabul	4:36:48 -	LMT	1890
			4:00	-	+04	1945
			4:30	-	+0430	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kabul
Type: application/octet-stream
Size: 159 bytes
Desc: not available
URL: <https://mm.icann.org/pipermail/tz/attachments/20220401/f54644c2/Kabul.obj>


More information about the tz mailing list