Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 842aa507a989ef7c2aed39dc85b11c3643ad23d0
Ticket: 4a0c163d24549700a25d1e3a47c2c77477b50a25
Win clock locale change not passed to "-locale current"
User & Date: oehhar on 2015-06-30 14:42:51
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Taking this command:
    <verbatim>
    clock format [clock seconds] -locale system -format %x
    </verbatim>
    On windows, the system encoding is taken from *msgcat::mclocale*.
    If *msgcat::mclocale* changes, the corresponding parse functions are not rebuild.
    
    E.g.:
    <verbatim>
    % mclocale de_de
    % clock format [clock seconds] -locale system -format %x
    01.07.2015
    # mclocale en_us
    % clock format [clock seconds] -locale system -format %x
    01.07.2015
    </verbatim>
    
    On the second call, the parser build at the first invokation is reused and not re-initialized due to the locale change.
    Nevertheless, the used message catalogue should change.
    
    It is not clear to me, if this is an issue.
    I am writing this ticket to eventually not forget it (also by myself).
    
  5. foundin changed to: "8.6.4"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to:
    Win clock locale change not passed to "-locale system"
    
  16. type changed to: "Bug"