Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4f3ddfe686b0c42aeaf539d4b20c6b34a2d70431
Ticket: 745830ffffffffffffffffffffffffffffffffff
clock formating problem
User & Date: kennykb on 2003-05-30 21:04:31
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    
    The reason that the native strftime is used on Unix
    platforms is so that the extended localization options
    %O and %E will be available.  I had not realized that
    HP-UX is so far behind the current POSIX that it
    does not support %k, %l, or %s.  I'd consider
    that a bug, since they are documented in the [clock]
    man page.
    
    George's suggestion that configure.in check whether
    the native strftime supports these options and fall
    back upon USE_COMPAT if they do not is a good one.
    A better one would be to localize compat/strftime.c
    so that we don't need to worry about all the platform
    differences. In fact, I had changed things in an
    early 8.4 beta so that compat/strftime.c was used
    on all platforms, but was forced to change back
    under pressure from German Tcl'ers on Linux, who
    needed localized dates.
    
    The real fix is possible, but necessitates sorting out
    some localization issues for the Tcl core. In essence,
    there are chicken-and-egg problems with the loading
    of message catalogs.  There isn't anything insurmountable,
    it's just that the individuals involved haven't had the
    opportunity to sit down and have the necessary discussion.
    
    
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"