Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

File Format Reference Pages locale(4)
The following is an example of a possible LC_NUMERIC category listed in a locale denition
source le:
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 denition source le denes 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 dened as string or integer values. String
values are bounded by ""(double quotes). All values are separated from the keyword they
dene by one or more spaces. Two adjacent ""(double quotes) indicate an undened string
value. A -1 (negative one) indicates an undened 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 eld 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 Species the name of an existing locale to be used as the denition of this category. If
you include a copy statement, no other keyword shall be specied.
abday Denes the abbreviated weekday names corresponding to the %a eld descriptor.
Recognized values consist of 7 semicolon-separated strings. The rst string
corresponds to the abbreviated name for the rst day of the week (Sun), the second to
the abbreviated name for the second day of the week, and so on.
day Denes the full spelling of the weekday names corresponding to the %A eld descrip-
tor. Recognized values consist of 7 semicolon-separated strings. The rst string
corresponds to the full spelling of the name of the rst day of the week (Sunday), the
second to the name of the second day of the week, and so on.
abmon Denes the abbreviated month names corresponding to the %b eld descriptor.
Recognized values consist of 12 semicolon-separated strings. The rst string
corresponds to the abbreviated name for the rst month of the year (Jan), the second to
the abbreviated name for the second month of the year, and so on.
mon Denes the full spelling of the month names corresponding to the %B eld descriptor.
Recognized values consist of 12 semicolon-separated strings. The rst string
corresponds to the full spelling of the name for the rst 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 Denes the string used for the standard date and time format corresponding to the %c
eld descriptor. The string can contain any combination of characters and eld
descriptors.
527188-003 Hewlett-Packard Company 1123