Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-04-20
09:56 • Closed ticket [1618445fff]: clock-40.1 fails on Mac OS X 10.2 plus 7 other c... artifact: c5a409e98d user: kennykb
2006-12-18
22:55 • New ticket [1618445fff]. artifact: 1a184c8d48 user: das

clock-40.1 fails on Mac OS X 10.2

Closed / Fixed1618445fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-12-18 22:55:48
observed on the SF CF host ppc-osx3:

==== clock-40.1 regression - bad month with -timezone :localtime FAILED
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time value too large/small to represent
    while executing
"::tcl::clock::ConvertLocalToUTC $date[set date {}]  $TZData($timeZone)  $changeover"
    (procedure "::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'C" line 32)
    invoked from within
"$scanner $string $base $timezone"
    (procedure "::tcl::clock::scan" line 82)
    invoked from within
"clock scan 1970-01-01T00:00:00 -timezone :localtime  -format %Y-%m-%dT%H:%M:%S"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-40.1 FAILED
kennykbplain2007-04-20 09:56:52
Logged In: YES 
user_id=99768
Originator: NO

Hmm, we don't do dates prior to the Epoch at all well, 
do we?  And MacOSX 10.2 appears to have a bug where the 
Epoch itself is not accepted.

Altered the test case to move the target date forward
thirty years to 2000-01-01.
Log in (anonymous is fine) to add a comment.