Overview
| Artifact ID: | 116f74a77b3b7e301d3150c3676082e12f7ded470115e96484d546134f60d9b0 |
|---|---|
| Ticket: | 2c0f49e26c27847ace39b90258beedea3e79eead
Tcl 9 clock format -locale does not look up locale children if parent locale used first |
| User & Date: | apnadkarni on 2025-03-04 08:07:15 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Running the following script in Tcl 8.6 and Tcl 9 gives different results, Tcl 8.6 seems correct behavior. ``` package require msgcat namespace eval ::tcl::clock { ::msgcat::mcset fr_xx DATE_FORMAT "%e|%B|%Y" } puts [package require Tcl] puts [clock format 0 -format %x -locale fr] puts [clock format 0 -format %x -locale fr_xx] ``` Output from Tcl 8.6: ``` 8.6.16 1 janvier 1970 1|janvier|1970 <- Note pipe separator ``` Output from 9.0.1: ``` 9.0.1 1 janvier 1970 1 janvier 1970 <- fr_xx format seemingly ignored ``` If the line for the `fr` locale is commented, Tcl 9 correctly prints the `fr_xx` format. - foundin changed to: "9.0.1"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "None"
- title changed to:
Tcl 9 clock format -locale does not look up locale children if parent locale used first
- type changed to: "Bug"