Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5543a5a91f63f1d8b5ed31ddc1f9e08a859935dd
Ticket: 940278ffffffffffffffffffffffffffffffffff
env(TZ) has delayed effect on clock format
User & Date: davidw on 2004-04-22 20:03:29
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This script:
    ----
    if { ! [info exists env(TZ) ] } {
        set myTZ ""
    } else {
        set myTZ $env(TZ)
    }
    
    puts "Local time is [clock format [clock seconds]]"
    set env(TZ) GMT+8
    puts "Time in Eugene, Oregon is [clock format [clock
    seconds]]"
    set env(TZ) GMT-1
    puts "Time in Padua, Italy is [clock format [clock
    seconds]]"
    
    if { $myTZ == "" } {
        unset env(TZ)
    } else {
        set env(TZ) $myTZ
    }
    ----
    
    does not produce the desired results, in either 8.4.6
    or 8.5.
    
    kbk found that HAVE_TZSET is not tested for in the
    configure scripts, except for some crufty unix systems.
     He also proposed commenting out the calledTzset = 1;
    on or around line 285.
    
    Further bulletins as events warrant.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "env(TZ) has delayed effect on clock format"
  11. type changed to: "Bug"