Locale-specific days/months generated but not recognized
Closed / Out of Date1084359fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-13 12:33:58
Having installed a SuSE 9.1 Linux system with Portuguese as the main language, I found that 'clock format' would generate human-readable date/time strings with Portuguese day and month abbreviations, but 'clock scan' would not recognize these same strings, e.g., % clock scan [clock format 1000000000] Unable to convert date/time strting "Sáb Set 08 22:46:40 BRT" % In fact, not only are the day and month unrecognized, but the time zone (BRT) is not recognized even with a numerical date. System is Tcl 8.4.6 which installs with SuSE.
dkfplain2004-12-13 20:49:17
Logged In: YES user_id=79902 We know about this, but fixing it in the 8.4 series is probably out of the question. Tcl 8.5 (still in alpha state) has had the [clock] command almost completely rewritten and that should be able to parse locale-specific day and month names. I'll let kbk close this if he agrees with my assessment.
kennykbplain2004-12-13 22:30:08
Logged In: YES user_id=99768 Indeed, it is quite unlikely that this problem is fixable in the 8.4.x series. If 8.5.0 is sufficiently delayed, and there is enough interest, the 'newclock' module at SourceForge could be updated with the current [clock] fixes so that an approximation to the 8.5 [clock] command would be available as an add-on to 8.4.
Log in (anonymous is fine) to add a comment.