Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 21fe652a397a8208bd917d6dd5004e09af116e0c
Ticket: 218506ffffffffffffffffffffffffffffffffff
%Z clock format doesn't say GMT when -gmt true is passed to
User & Date: nobody on 2000-10-26 01:01:26
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 740 Bug
    Version: 8.0.3
    SubmitDate: '1998-10-16'
    LastModified: '1999-10-29'
    Severity: LOW
    Status: Released
    Submitter: welch
    ChangedBy: hobbs
    RelatedBugIDs: 784 847 954 1245 1363
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-10-29'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
     > I've changed line 688 in lib/httpd.tcl from:
     >   return [clock format $seconds -format {%a, %d %b %Y %T %Z} -gmt true]
     > to:
     >   return [clock format $seconds -format {%a, %d %b %Y %T GMT} -gmt true]
     > then restarted our tclhttpd, this fixes the problem.
     > 
     > Thanks to Larry, who detected this behavior on a server Alex and I are
     > fooling around with.
     > 
     > There is a deeper issue though - should [clock format ... -gmt true]
     > report its timezone as the local one?  Seems a bit illogical to me...
     >
    
    Seems like the %Z should be aware of the -gmt flag.
    --
    This works as expect in 8.1. 
    -- 10/29/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "48. Number Handling"
  10. title changed to:
    %Z clock format doesn't say GMT when -gmt true is passed to 
    
  11. type changed to: "Bug"