TIP 703: info locale and info timezone

Login
Author:         Jan Nijtmans <[email protected]>
State:          Draft
Type:           Project
Tcl-Version:    9.1
Tcl-Branch:     tip-703

Abstract

This TIP proposes new commands info locale and info timezone, for retrieving (and possibly setting) the current locale and timezone from the OS in a platform-independent way.

Rationale

The clock command uses the registry extension only for the purpose of retrieving the current timezone. The msgcat extension uses the registry only for retrieving the current locale. If both functions were available as separate commands, the registry extension and the clock command wouldn't need the registry extension any more at system startup.

After implementing this TIP and fix two issues (364bd985d6 and a8e4f76ce4), TIP #702 won't be necessary any more.

Specification

TODO

Implementation

TODO See the tip-703 branch.

Copyright

This document has been placed in the public domain.