strftime(4) manual page
Table of Contents
strftime - language specific strings
Each locale has
a printable file specifying date and time formatting information, /usr/lib/locale/locale/LC_TIME
where locale is the locale name. These files specify:
1. abbreviated month
names (in order)
2. full month names (in order)
3. abbreviated weekday
names (in order)
4. full weekday names (in order)
5. string to specify
local time representation (%X)
6. string to specify local date representation
(%x)
7. string to specify local date and time (%c) for strftime() default
8. AM (ante meridian) string
9. PM (post meridian) string
10. string to
specify local date and time (%C) for cftime() default
Each string is on
a line by itself. All white space is significant. The order of the strings
in the above list is the same order in which they must appear in the file.
/usr/lib/locale/C/LC_TIME
Jan
Feb
. . .
January
February
. . .
Sun
Mon
. . .
Sunday
Monday
. . .
%H:%M:%S
%m/%d/%y
%a %b %d %H:%M:%S %Y
AM
PM
%a %b %e %T %Z %Y
- /usr/lib/locale/locale/LC_TIME
-
ctime(3C)
, setlocale(3C)
,
strftime(3C)
Do not change files under the C locale, as this could
cause undefined or nonstandard behavior.
Table of Contents