Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 36f4e2e397fb6262b227f44dc3008bcbaa7956ec
Ticket: 2207436fffffffffffffffffffffffffffffffff
clock format: wrong handling of MET-1METDST timezone
User & Date: kennykb on 2008-11-01 05:32:48
Changes

  1. icomment:
    A far better workaround would be to change the system timezone
    to <MET>-01:00:00<METDST>-02:00:00,M3.5.0/02:00:00,M10.5.0/01:00:00
    
    A simple MET-1METDST invokes "implementation-defined interpretation"
    in the Posix rules. In fact, on my Red Hat system, it defaults to
    *obsolete* US rules, correct for neither the EU nor the US.
    
    I'm really curious what specifically you propose for the patch.
    
    I suppose that it might work to have zones between London and
    Istanbul default to EU rules, but that seems a trifle fragile;
    plus, where do we stop? The next thing will be that a ZA user
    will complain that we don't detect *those* rules.
    
    Tying to the time zone name is equally fragile; looking for
    MET will work only until a German user sets MEZ-1MESZ or
    a French user sets HNEC-1HEEC.
    
    This also really has the feel of an HPUX-specific solution.
    Virtually any other modern Unix has zoneinfo, and localtime\
    (and TZ) will be set to :Europe/Amsterdam rather than 
    MET-1METDST.
    
    I'll be glad to revisit this if the patch makes sense.
    Reverting the bug to 'Open' until we get this sorted out.
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "kennykb"