Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
File Format Reference Pages locale(4)
The following is an example of a possible LC_NUMERIC category listed in a locale definition
source file:
LC_NUMERIC
#
decimal_point "<period>"
thousands_sep "<comma>"
grouping <3>;<0>
#
END LC_NUMERIC
The LC_TIME Category
The LC_TIME category of a locale definition source file defines rules and symbols for format-
ting time and date information. This category begins with an LC_TIME category header and
terminates with an END LC_TIME category trailer.
All operands for the LC_TIME category keywords are defined as string or integer values. String
values are bounded by ""(double quotes). All values are separated from the keyword they
define by one or more spaces. Two adjacent ""(double quotes) indicate an undefined string
value. A -1 (negative one) indicates an undefined integer value. Field descriptors are used by
commands and subroutines that query the LC_TIME category to represent elements of time and
date formats. The field descriptors used by commands and subroutines that query the LC_TIME
category for time formatting are described in this section, immediately following the descriptions
of valid keywords.
The following keywords are recognized in the LC_TIME category:
copy Specifies the name of an existing locale to be used as the definition of this category. If
you include a copy statement, no other keyword shall be specified.
abday Defines the abbreviated weekday names corresponding to the %a field descriptor.
Recognized values consist of 7 semicolon-separated strings. The first string
corresponds to the abbreviated name for the first day of the week (Sun), the second to
the abbreviated name for the second day of the week, and so on.
day Defines the full spelling of the weekday names corresponding to the %A field descrip-
tor. Recognized values consist of 7 semicolon-separated strings. The first string
corresponds to the full spelling of the name of the first day of the week (Sunday), the
second to the name of the second day of the week, and so on.
abmon Defines the abbreviated month names corresponding to the %b field descriptor.
Recognized values consist of 12 semicolon-separated strings. The first string
corresponds to the abbreviated name for the first month of the year (Jan), the second to
the abbreviated name for the second month of the year, and so on.
mon Defines the full spelling of the month names corresponding to the %B field descriptor.
Recognized values consist of 12 semicolon-separated strings. The first string
corresponds to the full spelling of the name for the first month of the year (January),
the second to the full spelling of the name for the second month of the year, and so on.
d_t_fmt Defines the string used for the standard date and time format corresponding to the %c
field descriptor. The string can contain any combination of characters and field
descriptors.
527188-007 Hewlett-Packard Company 11−23