https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124539

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We don't implement this:

       The fields that make up a zone line are:

       [...]

       UNTIL  The time at which the UT offset or the rule(s) change for a loca‐
              tion.  [...]

              The  next  line  must be a “continuation” line; this has the same
              form as a zone line except that the string “Zone”  and  the  name
              are  omitted,  as  the  continuation  line will place information
              starting at the time specified as the “until” information in  the
              previous  line  in the file used by the previous line.  Continua‐
              tion lines may contain “until” information, just  as  zone  lines
              do, indicating that the next line is a further continuation.


We do not enforce that a continuation line follows a Zone line or continuation
line that ends with UNTIL. So we accept:

Zone  Test/One  2:00    -  LMT   2017 Oct 27 01:00
Zone  Test/Two  1:00    -  LMT

This should be rejected, because it doesn't specify what happens in Test/One
after 2017 Oct 27 at 1am

Reply via email to