Menu

#3011 Locale-specific days/months generated but not recognized

obsolete: 8.4.6
closed-out-of-date
5
2004-12-13
2004-12-13
No

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.

Discussion

  • Donal K. Fellows

    • milestone: --> obsolete: 8.4.6
    • status: open --> open-out-of-date
     
  • Donal K. Fellows

    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.

     
  • Kevin B KENNY

    Kevin B KENNY - 2004-12-13

    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.

     
  • Kevin B KENNY

    Kevin B KENNY - 2004-12-13
    • status: open-out-of-date --> closed-out-of-date
     
MongoDB Logo MongoDB