Overview
| Artifact ID: | db9c4b5c0a5aec0e65b14457f336a519ddf6de57 |
|---|---|
| Ticket: | 4a0c163d24549700a25d1e3a47c2c77477b50a25
Win clock locale change not passed to "-locale current" |
| User & Date: | oehhar on 2015-10-23 08:59:58 |
Changes
- assignee changed to: "oehhar"
- closedate changed to: "2457318.87498434"
- closer changed to: "oehhar"
- 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). ---- Addendum to ticket by oehhar: The upper test is not an issue. The issue arises, if "-locale current" is used. Only windows port makes the difference. The bug is within format and scan. Details in comments. Due to that, renamed title. Hope this is ok...
- icomment:
Fix committed to trunk with [5855bdf4a8]. Bug closed.
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- title changed to:
Win clock locale change not passed to "-locale current"
- username: "oehhar"