Skip to content
Tcl Source Code View Ticket
Login

View Ticket

strftime broken on sparc-sun-solaris2.7 (surprise!)

Closed / Out of Date1460812fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-03-29 17:17:20
As is already documented, sparc-sun-solaris2.7, like
(what seems to be) many other systems has a broken
strftime.

Luckily, it's only a little broken.

I'm posting this as a datapoint already aware that 8.5
will handle this a different way.

The returns from the library seem to all be valid
except for "%u", the day of week which is returning
values in the range of 1-7, not 0-6 as it should.

On my system I'm handling it by hacking but I thought
others might want to know about this issue.
kennykbplain2007-04-20 06:32:16
Logged In: YES 
user_id=99768
Originator: NO

8.5 doesn't use strftime; I have no immediate plans to fix this
in 8.4.  If the original poster will test the 'newclock' extension,
available on https://sourceforge.net/project/showfiles.php?group_id=10894&package_id=228949&release_id=502384
it may meet the needs.  If that is an adequate workaround
(it is essentially a backport of the 8.5 code into the 8.4 base)
then I'm comfortable with closing this issue.
sf-robotplain2007-05-04 09:20:09
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.