Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bccf07fd0f8365a16a64e9846b3f3b4618b11bde
Ticket: 219179ffffffffffffffffffffffffffffffffff
clock scan [clock format [clock seconds]] fails
User & Date: dkf on 2000-11-06 21:56:37
Changes

  1. icomment:
    While supporting long-names in scanning is in some ways an optimal fix (since the abbreviations are not unique: BST stands for both British Summer Time and Brazilian Standard Time apparently, according to the comments in tclDate.c) it is also much more complex and usually not what people want anyway; using the abbreviation would actually be less surprising to them.  One way of going from one to the other might be to take the first letter of each (letter-only) word of the long timezone string and put it (capitalized) in as an abbreviation (together with all the other portions verbatim so other ways of handling timezones are tackled rightish.)  OK, this is fragile, but it is also cheap, and if a better solution can't be found...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"