From: Jan N. <jan...@gm...> - 2024-10-21 08:54:45
|
Op zo 20 okt 2024 om 21:57 schreef Harald Oehlmann: > - msgcat also loads the registry package. > Indeed. Wouldn't it be much simpler to have a "info locale" instead of having to do this?: Tcl Source Code: msgcat.tcl at [4292513191] (tcl-lang.org) <https://core.tcl-lang.org/tcl/file?name=library/msgcat/msgcat.tcl&ci=42925131911a8796&ln=1319-1347> Same with "info timezone" (or - maybe - "clock timezone" for the clock code. On Windows it will use the registry to find out the current timezone. On UNIX it will derive this from the TZ (or TCL_TZ) environment variable. Yes, "info locale" and "info timezone" deserve a separate TIP, it will eliminate the need for clock and msgcat to use the "registry" extension on Windows. Hope this helps, Jan Nijtmans |