<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks Rodrigo,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>That makes sense now, although I think it would be clearer to change the last Zone line to stop in 1989 and add one more Zone line like so:</DIV><DIV><BR class="khtml-block-placeholder"></DIV># Zone  NAME            GMTOFF  RULES   FORMAT  [UNTIL]<BR style="">                        -6:00   Salv    C%sT    1989<BR style=""><DIV>                        -6:00     -     CST <BR><BR style=""><DIV>The conceptual block that I had to overcome was that I thought of Rules as things that happen every year, and if there's not a rule for that year, it doesn't apply. In other words I didn't grok that "the last rule sticks"</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>A FAQ would be great, or at least an update to the man page for zic - the man page is great as a reference to what each particular field means, but not so great as a high level explanation of the format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>take care, </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Bobby </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Sep 26, 2007, at 11:49 AM, Rodrigo Severo wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">This is definitely a FAQ. Is there a page with tz FAQ? <BR><BR>Rules define change in the local time. Local time doesn't ends. :)<BR><BR>The year 1988 is the last year that there is any change. The last change mentioned - switch to local time + 0:00 in the last Sun of september - defines the time indefinitely. <BR><BR><BR>Rodrigo Severo<BR><BR><BR><DIV><SPAN class="gmail_quote">On 9/26/07, <B class="gmail_sendername">Bobby Rullo</B> &lt;<A href="mailto:br@osafoundation.org">br@osafoundation.org</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<BR><BR>I have written a timezone library (including a parser) in JavaScript<BR>and am running into a bit of confusion with this particular Zone and<BR>Rule:<BR><BR># Rule  NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S <BR>Rule    Salv    1987    1988    -       May     Sun&gt;=1  0:00    1:00    D<BR>Rule    Salv    1987    1988    -       Sep     lastSun 0:00    0       S<BR># There are too many San Salvadors elsewhere, so use America/El_Salvador <BR># instead of America/San_Salvador.<BR># Zone  NAME            GMTOFF  RULES   FORMAT  [UNTIL]<BR>Zone America/El_Salvador -5:56:48 -     LMT     1921            # San Salvador<BR>                        -6:00   Salv    C%sT <BR><BR>My question is, what is the applicable Rule for any date after 1988?<BR>The last "Salv" Rule ends in 1988, and the Zone states that Salv is<BR>the Rule from 1921 on (no UNTIL specified)<BR><BR>I've done a "man zic" hoping to see something like "If there is no <BR>applicable Rule, just use the basic offset and assume that the LETTER<BR>is 'S'", but I could not find anything like that. Is that the correct<BR>behavior?<BR><BR>Thanks<BR><BR>Bobby<BR></BLOCKQUOTE></DIV> <BR><BR clear="all"><BR>-- <BR>---------------------------------------------------------------------------------------<BR>Rodrigo Severo<BR><BR>Fábrica de Idéias<BR>SBS Quadra 2 - Bloco S - Ed. Empire Center - Sala 1.301<BR> Brasília - DF - CEP 70070-904<BR>Tel. (61) 3321-1357       Fax (61) 3223-1712<BR>---------------------------------------------------------------------------------------</BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>