Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a020796028ba30536f9313aad88e71085dd4b00b
Ticket: 2796593fffffffffffffffffffffffffffffffff
clock broken when time_t tracks leapseconds
User & Date: kennykb on 2009-05-27 10:05:49
Changes

  1. closedate changed to: "2009-05-27T03:05:49"
  2. closer changed to: "kennykb"
  3. icomment:
    The localtime() library call on the web server is definitely returning a time that is 23 seconds off. The 23 seconds (which should be 24 as of 1 January of this year) is a dead giveaway that something is ticking TAI instead of UTC.
    
    http://support.ntp.org/bin/view/Support/TimeScales
    
    has some other ideas of what to check.
    
    The Posix standard is quite clear on the matter.  time_t is supposed to ignore leap seconds. A number of Linux developers think they know better. Their 'improvements', generally speaking, cause only trouble.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. status changed to: "Pending"
  7. username: "kennykb"