CFTIME(4) SysV CFTIME(4)
NAME
cftime - language specific strings
DESCRIPTION
You may define formats to which cftime and ascftime (see ctime(3C)) will
default by placing specially structured files in the directory
/usr/lib/cftime. In those cases where the CFTIME environment variable is
not set or is null, cftime will default to the format specified by the
file in /usr/lib/cftime whose name is the same as that contained in the
LANGUAGE environment variable. If the LANGUAGE environment variable is
not set, null, or set to an unsupported language, cftime and ascftime
will default to the last language requested or to usa_english, if none
was requested last.
You may create one format file per language. The lines of each must be
ordered as follows:
o Abbreviated month names (in order)
o Month names (in order)
o Abbreviated weekday names (in order; Sunday is the first day of the
week)
o Weekday names (in order; Sunday is the first day of the week)
o Default strings that specify formats for local time (%x) and local
date (%X)
o Default format for ctime, if the argument for cftime is zero or null.
o AM (ante meridian) string
o PM (post meridian) string
Each string must be on a line by itself. All white space is significant.
EXAMPLE
The following lines (where the ellipses are expanded) constitute
/usr/lib/cftime/usa_english, which defines formats for American English:
Jan
Feb
...
January
February
...
Sun
Mon
....
Sunday
Monday
....
%H.%M.%S
%m/%d/%y
%a %b %d %T %Z %Y
AM
PM
FILES
/usr/lib/cftime Directory for language-
specific format files
/usr/lib/cftime/danish
/usr/lib/cftime/finnish
/usr/lib/cftime/french
/usr/lib/cftime/german
/usr/lib/cftime/italian Language-specific format
/usr/lib/cftime/norwegian files
/usr/lib/cftime/spanish
/usr/lib/cftime/swedish
/usr/lib/cftime/usa_english
SEE ALSO
ctime(3C)