locale.5: Refer to strftime(3) where appropriate

The relationship between the locale time format syntax
and strftime() cannot be considered as obvious.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Marko Myllynen 2015-06-09 17:18:48 +03:00 committed by Michael Kerrisk
parent ab601e67b9
commit ea7208a6aa
1 changed files with 17 additions and 5 deletions

View File

@ -1106,16 +1106,25 @@ strings.
This should be left empty for locales not using AM/PM convention.
.TP
.I d_t_fmt
followed by the appropriate date and time format.
followed by the appropriate date and time format
(for syntax, see
.BR strftime ()).
.TP
.I d_fmt
followed by the appropriate date format.
followed by the appropriate date format
(for syntax, see
.BR strftime ()).
.TP
.I t_fmt
followed by the appropriate time format.
followed by the appropriate time format
(for syntax, see
.BR strftime ()).
.TP
.I t_fmt_ampm
followed by the appropriate time format when using 12h clock format.
followed by the appropriate time format
(for syntax, see
.BR strftime ())
when using 12h clock format.
This should be left empty for locales not using AM/PM convention.
.TP
.I week
@ -1169,7 +1178,9 @@ Right-left from top.
.TP
.I date_fmt
followed by the appropriate date representation for
.BR date (1).
.BR date (1)
(for syntax, see
.BR strftime ()).
.TP
.I alt_digits
followed by the alternative digits used for date and time in the locale.
@ -1244,6 +1255,7 @@ This manual page isn't complete.
.BR localeconv (3),
.BR newlocale (3),
.BR setlocale (3),
.BR strftime (3),
.BR uselocale (3),
.BR charmap (5),
.BR charsets (7),