Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3ddcab29ba71b3bc5cf643ab02e759d18045ac534c7a3f894b11a3b851e4692c
Ticket: 9a1dca76cd230032f91d82594207ed1f2c101c00
clock-59.2 failure
User & Date: dgp on 2024-10-30 15:29:46
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ==== clock-59.2.vm:0 correct time zone names, format and scan back, bug and regression [2c237beffbace823] FAILED
    ==== Contents of test case:
    
        set result {}
        foreach {base tz} {
    	 1700000000 "Etc/GMT-2"
    	 1700000000 "Etc/GMT+2"
    	 1301184000 "Europe/Kaliningrad"
    	  152632800 "Pacific/Chatham"
    	 -765317964 "America/Paramaribo"
    	-2337928528 "Australia/Eucla"
        } {
    	set v [clock format $base -timezone Etc/GMT-2 -format "%Y-%m-%d %H:%M:%S %Z"]
    	lappend result [expr {[set t [clock scan $v -format "%Y-%m-%d %H:%M:%S %Z"]] == $base ? 1 : "0 ($t != $base for $v)"}]
    	lappend result [expr {[set t [clock scan $v]] == $base ? 1 : "0 ($t != $base for $v)"}]
        }
        set result
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: time zone Etc/GMT-2 not found
        while executing
    "return -options $opts "time zone $timezone not found""
        (procedure "::tcl::clock::SetupTimeZone" line 82)
        invoked from within
    "::tcl::clock::SetupTimeZone Etc/GMT-2"
        invoked from within
    "clock format $base -timezone Etc/GMT-2 -format "%Y-%m-%d %H:%M:%S %Z""
        ("foreach" body line 2)
        invoked from within
    "foreach {base tz} {
    	 1700000000 "Etc/GMT-2"
    	 1700000000 "Etc/GMT+2"
    	 1301184000 "Europe/Kaliningrad"
    	  152632800 "Pacific/Chatham"
    	 -765317964 "A..."
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: CLOCK badTimeZone {$:fileName}
    ==== clock-59.2.vm:0 FAILED
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "dgp"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to: "clock-59.2 failure"
  16. type changed to: "Bug"