Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 382abed95cf0a0c34e8b7087f5ef316ac854faafb6063fe7901feef8590df69b
Ticket: f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0
User & Date: jan.nijtmans on 2024-11-19 13:19:08
Changes

  1. icomment:
    I found a [https://cdn.standards.iteh.ai/samples/81801/f527872a9fe34281ae3a4af8e730f3f8/ISO-8601-1-2019-Amd-1-2022.pdf|Preview] of the latest amendment (2022) to the ISO-8601 specification. It states:
    <pre>
    NOTE 6 The last instant of the day exists within the last second of the day, which can be one of the 
    following:
          with no leap second 23:59:59
          with a negative leap second 23:59:58
          with a positive leap second 23:59:60
    </pre>
    
    So, seconds can be "60", but only in case of a positive leap second. Negative leap seconds didn't ever occur in history.
    
    <pre>
    EXAMPLE 2 The following are valid reduced precision expressions of the ending of the day:
    —   ‘T24’ (time of day expression with omission of minutes and seconds);
    —   ‘24’ (time of day expression with omission of minutes, seconds and time designator);
    —   ‘T24:00’ (time of day expression with omission of seconds);
    —   ‘24:00’ (time of day expression with omission of seconds and time designator)
    </pre>
    
    This means that a hour value of "24" is possible, as indication of the end of the day, but only when the minutes, seconds and milliseconds are all zero.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"