Skip to content
Tcl Source Code History Of Ticket 413397ffffffffff
Login

History Of Ticket 413397ffffffffff

Artifacts Associated With Ticket 413397ffffffffff

  1. Ticket change [c96ef8b1b1] (rid 122283) by hemanglavana on 2001-04-03 12:38:05:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hello,
      
      We seem to have stumble across a possible bug in "clock
      scan" command
      which occurs with tcl8.0.5 as well as tcl8.3.2
      versions. The following
      two lines of code returns different results, when
      basevalue is set to
      any value between midnight to 7:00am and the script is
      run under Pacific
      time-zone:
      
      scan year -base $basevalue -gmt 0
      scan year -base $basevalue -gmt 1
      
      Here's a sample output for various runs, the script is
      attached as a file:
      
      Tcl_version=8.3.2
      base_seconds=985183078, current_time=Wed Mar 21
      05:57:58 Pacific
      Standard Time 2001
      ----------+--------------------------+-------------------------------
      Relative  |         Local Time       |          GMT
      Time
      ----------+--------------------------+-------------------------------
          today | Wed Mar 21 05:57:58 2001 | Wed Mar 21
      05:57:58 2001  
       tomorrow | Thu Mar 22 05:57:58 2001 | Thu Mar 22
      05:57:58 2001  
           week | Wed Mar 28 05:57:58 2001 | Wed Mar 28
      05:57:58 2001  
        4 weeks | Wed Apr 18 05:57:58 2001 | Wed Apr 18
      05:57:58 2001  
          month | Sat Apr 21 05:57:58 2001 | Fri Apr 20
      05:57:58 2001  *
        5 weeks | Wed Apr 25 05:57:58 2001 | Wed Apr 25
      05:57:58 2001  
       6 months | Fri Sep 21 05:57:58 2001 | Thu Sep 20
      05:57:58 2001  *
       26 weeks | Wed Sep 19 05:57:58 2001 | Wed Sep 19
      05:57:58 2001  
      12 months | Thu Mar 21 05:57:58 2002 | Wed Mar 20
      05:57:58 2002  *
       52 weeks | Wed Mar 20 05:57:58 2002 | Wed Mar 20
      05:57:58 2002  
       365 days | Thu Mar 21 05:57:58 2002 | Thu Mar 21
      05:57:58 2002  
           year | Thu Mar 21 05:57:58 2002 | Wed Mar 20
      05:57:58 2002  *
      ----------+--------------------------+-------------------------------
      *  Dates for local time and gmt time are skewed by one
      day
      
      It is interesting to note that the dates are same when
      relative time
      is specified as "365 days", but different when
      specified as a "year"
      The problem seems to occur for "year" and "month"
      specifications, but
      not with "day" or "week" specifications.
      
      Any idea where the problem could be and what would be
      the fix for it? Or
      have I misunderstood something?
      
      Thanks,
      Hemang.
      
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "hemanglavana"
    9. subsystem initialized to: "None"
    10. title initialized to: "error in clock scan for "month"/"year""
    11. type initialized to: "Bug"
  2. Ticket change [dbbf4f4030] (rid 108012) by hemanglavana on 2001-04-03 19:38:06:

    1. icomment:
      
      
      File Added - 4906: clock.tcl
      
      
      
    2. login: "hemanglavana"
    3. mimetype: "text/plain"
    4. username: "hemanglavana"
  3. Add attachment "clock.tcl" [c4a2af9837] (rid 111876) by hemanglavana on 2001-04-03 19:38:06.

  4. Ticket change [d901152daf] (rid 107538) by dkf on 2001-04-04 17:13:43:

    1. foundin changed to: "obsolete: 8.3.2"
    2. subsystem changed to: "48. Number Handling"
    3. title changed to: "error in clock scan for "month"/"year""
  5. Ticket change [0ce4b8cfaf] (rid 114259) by dgp on 2001-04-05 06:56:31:

    1. subsystem changed to: "06. Time Measurement"
    2. title changed to:
      error in clock scan for "month"/"year"
      
  6. Ticket change [af8f19c327] (rid 97832) by hemanglavana on 2001-04-05 22:09:38:

    1. icomment:
      Logged In: YES 
      user_id=81875
      
      Please see patch #414024 for the fix.
      
      
    2. login: "hemanglavana"
    3. mimetype: "text/plain"
    4. username: "hemanglavana"
  7. Ticket change [242b659669] (rid 131068) by andreas_kupries on 2001-08-01 04:37:34:

    1. assignee changed to: "kennykb"
    2. title changed to: "error in clock scan for "month"/"year""
  8. Ticket change [7a46205ecf] (rid 90288) by hobbs on 2001-10-19 01:43:21:

    1. assignee changed to: "hobbs"
    2. title changed to: "error in clock scan for "month"/"year""
  9. Ticket change [fb38d5416e] (rid 92015) by hobbs on 2001-10-19 03:16:01:

    1. closedate changed to: "2001-10-18T20:16:01"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Added to 8.3.4 and 8.4a4cvs.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. title changed to: "error in clock scan for "month"/"year""
    9. username: "hobbs"