Artifacts Associated With Ticket 565880ffffffffff
Ticket change [a03530573a] (rid 96760) by rmax on 2002-06-07 15:59:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
[clock format] always returns day and month names in Engish, although it uses strftime() internally which supports locales, but only if the LC_TIME locale category has been initialized from the respective environment variable(s) before. I first thought of adding a call to setlocale(LC_TIME,"") or setlocsl(LC_ALL, "") to unix/tclUnixInit.c, but that would have meant, that a script can't change the locale it inherited from it's parent process. This in turn broke many of the tests in clock.test when "make test" was called from within a German locale. Therefore I added the setlocale(LC_TIME,"") call to tclUnixTime.c just before strftime() is being called, so that changing env(LC_CTIME) from within a script changes gets reflected in [clock format] immediately.
- foundin initialized to: "obsolete: 8.4a5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "rmax"
- subsystem initialized to: "None"
- title initialized to: "[clock format] doesn't support locales"
- type initialized to: "Bug"
Ticket change [32e9f3b9db] (rid 93698) by rmax on 2002-06-07 22:59:36:
- icomment:
File Added - 24604: clock_locale.patch
- login: "rmax"
- mimetype: "text/plain"
- username: "rmax"
- icomment:
Add attachment "clock_locale.patch" [7dfe020113] (rid 97329) by rmax on 2002-06-07 22:59:36.
Ticket change [274f059e41] (rid 88493) by rmax on 2002-06-07 23:03:08:
- assignee changed to: "kennykb"
- subsystem changed to: "06. Time Measurement"
Ticket change [32c98c0487] (rid 93682) by rmax on 2002-06-26 20:43:12:
- closedate changed to: "2002-06-26T13:43:12"
- closer changed to: "rmax"
- icomment:
Logged In: YES user_id=124643 Applied the patch to 8.4b1.
- login: "rmax"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "rmax"