Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 831f44e88b519266505d973357b161a60d047835
Ticket: 2207436fffffffffffffffffffffffffffffffff
clock format: wrong handling of MET-1METDST timezone
User & Date: nijtmans on 2008-10-31 22:06:40
Changes

  1. icomment:
    OK, here is a test case. If I change "-timezone MET-1METDST"
    to "-timezone :localtime" then the test passes, otherwise
    it fails.
    
    ============================================================
    test clock-52.2 {correct conversion of times in Europe} {
        # Jan Nijtmans reported [Bug 2207436] where DST rollover in
        # Europe was miscalculated using METDST.  The problem was
        # that in this case, the heuristic uses US DST rules in
        # stead of European DST rules
        set result {}
        foreach t {1206838799 1206838800 1224982799 1224982800} {
    lappend result [clock format $t -format %H:%M:%S \
        -timezone MET-1METDST]
        }
        set result
    } {01:59:59 03:00:00 02:59:59 02:00:00}
    
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"