| Ticket UUID: | 2c0f49e26c27847ace39b90258beedea3e79eead | ||
| Title: | Tcl 9 clock format -locale does not look up locale children if parent locale used first | ||
| Type: | Bug | Created on: | 2025-03-04 08:07:15 |
| Submitter: | apnadkarni | Assigned to: | nobody |
| Subsystem: | 16. Commands A-H | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2025-03-04 15:57:30 |
| Status: | Closed | Closed by: | sebres |
| Resolution: | Fixed | Closed on: | 2025-03-04 15:57:30 |
| Version: | 8.7+ | ||
| Description: | ||||
|
Running the following script in Tcl 8.6 and Tcl 9 gives different results, Tcl 8.6 seems correct behavior.
Output from Tcl 8.6:
Output from 9.0.1:
If the line for the | ||||
| User Comments: | ||||
sebres added on 2025-03-04 15:04:38:
Good catch, Ashok! The reason for that is that new clock-engine caching the msgcat dictionary internally in merged catalog (from parent to child locale), but more important here is that "%x" is so called "localized" format (since it expanding in The fix is simple, so I'll fix it now (and cover by a test). sebres added on 2025-03-04 15:57:30:
Fixed in [dc5c5857c146c665] and merged to all derived branches. | ||||
