Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 75de7c1c5782492b97bda269137ba49c82dc138d
Ticket: 2207436fffffffffffffffffffffffffffffffff
clock format: wrong handling of MET-1METDST timezone
User & Date: nijtmans on 2008-10-31 20:54:49
Changes

  1. icomment:
    > MET-1METDST doesn't specify the dates on which Summer Time
    > begins and ends, and so defaults to US rules.
    
    Defaulting to US rules is a heuristic which makes it work
    for the US in recent enough dates. Why could the same
    heuristic not be implemented for Europe as well? It
    doesn't matter that it is incorrect for past dates,
    it currently is incorrect for current dates.
    
    I don't think that this is "invalid": We have a real
    problem, and other applications (using the HP-UX C
    library) work well with this timezone specification.
    I will try to create a fix for this. Are you willing
    to review it? (I am not so familiar with this code
    than you are)
    
    We have a workaround, that is setting TCL_TZ to
    :localtime. TZ is currently set to MET-1METDST,
    so this makes the C library do the correct
    translations. That's why other applications
    work fine. Introducing this workaround is more
    work than simply waiting two more days: then it
    will be fixed automatically (for now, it will
    come back every year).   :-(
    
    Anyway, I'll try to create a patch with
    testcases.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"