Skip to content
Tcl Source Code View Ticket
Login

View Ticket

clock-38.1 fails on Mac OS X

Closed / Fixed1011985fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-08-19 06:09:06
==== clock-38.1 regression - convertUTCToLocalViaC -
east of Greenwich FAILED
==== Contents of test case:

        clock format 0 -format %H:%M:%S -timezone
:localtime
    
---- Result was:
00:00:00
---- Result should have been (exact matching):
01:00:00
==== clock-38.1 FAILED
dgpplain2004-08-21 07:13:03
Logged In: YES 
user_id=80530


It appears this may be a bug
in Darwin's tzset() function.
It apparently is unable to make
sense of the timezone spec, CET-1CEST .

Using just CET or CET-1, the test passes.
dgpplain2004-08-21 08:13:41
Logged In: YES 
user_id=80530


This all boils down to the file

/usr/share/zoneinfo/posixrules

being missing on my machine.

Assigning to someone more familiar
with Mac OS X/Darwin who might be
able to say whether this is known/intended.
kennykbplain2004-08-22 01:15:10
Logged In: YES 
user_id=99768

Test case should have specified the time zone in detail:
CET+01:00CEST+02:00,M3.5.0/02:00,M10.5.0/03:00
because CET doesn't follow the Posix rules.
Log in (anonymous is fine) to add a comment.