Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:56 • Ticket [218668ffff] problem with clock scan status still Closed with 3 other... artifact: c09584dbce user: dgp
2000-10-26
08:26 • Closed ticket [218668ffff]. artifact: 176b96be18 user: welch
01:03 • New ticket [218668ffff]. artifact: 78b5c53395 user: nobody

problem with clock scan

Closed / Fixed218668ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:55
OriginalBugID: 1675 Bug
Version: 8.0.5
SubmitDate: '1999-03-31'
LastModified: '1999-08-07'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Solaris
OSVersion: 2.5
Machine: Other
FixedDate: '1999-08-07'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name:
Andrew Smith

Extensions:
None

CustomShell:
None

ReproducibleScript:
    % puts [clock format [clock scan "3/28/1999 +1 day"] -format "%m/%d/%Y"]
    03/28/1999
    
     also have same problem when adding weeks eg.
    
    puts [clock format [clock scan "1/5/1999 +12 weeks"] -format "%m/%d/%Y"]
    03/29/1999
    
    



ObservedBehavior:
    There seems to be a problem with 3/28/1999. Dates either side
    increment without problems.
    



DesiredBehavior:
    "03/29/1999" in first example
    
    "03/30/1999" in second
    





    This problem does not occur on a Windows 95 machine running Tcl/Tk
    8.0.4.
    
--
The desired behavior is received with wish8.2 on NT and Solaris. 
-- 08/07/1999 hobbs
welch Closed ticket [218668ffff]. [History diff]2000-10-26 08:26:11
dgp Ticket [218668ffff]: 3 changes [History diff]2001-04-05 06:56:33
Log in (anonymous is fine) to add a comment.