Skip to contentSkip to conversation

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

PATCH In review Marko Myllynen 2 participants 2 messages Jun 9, 2015 – Jun 12, 2015 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 locale.5: refer to strftime(3) where appropriate

Hi Michael,

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

---
 man5/locale.5 |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)
man5/locale.5 +17 -5
index 374f6b2..2a2edc1 100644
@@ -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),

Thanks,

Signature · 5 lines
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Marko Myllynen

Hi Michael,

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

Thanks, Marko. Applied. One point, though: the references should include the section number. I'll fix that.

Cheers,

Michael

Quoted 60 lines
---
 man5/locale.5 |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)
man5/locale.5 +17 -5
index 374f6b2..2a2edc1 100644
@@ -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),

Thanks,

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html