[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Generalized Time/UTC Time need leap seconds



Steven Legg writes:

>>> [Syntaxes] 4.3.13 (Generalized Time) says:
>>> 
>>>       second  = %x30-36 %x30-39                        ; "00" to "59"
>>> 
>>> That should be "00" to "60", since Coordinated Universal Time has
>>> leap seconds.  See e.g. <http://tycho.usno.navy.mil/systime.html>.
> (...)
> The UTCTime type in X.680 doesn't allow for leap seconds (60 seconds
> is an illegal value). I still have to check whether GeneralizedTime
> allows it.

X.680 (07/2002) in
<http://www.itu.int/ITU-T/studygroups/com17/languages/> defers to
ISO 8601, which does allow leap seconds according to
<http://www.cl.cam.ac.uk/~mgk25/iso-time.html>.  I don't have the
actual ISO 8601 document.

-- 
Hallvard