[PATCH] nl_langinfo.3: mention the respective strftime conversion specifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* man3/nl_langinfo.3 (D_T_FMT, D_FMT, T_FMT, DAY_{1–7}, ABDAY_{1–7},
MON_{1–12}, ABMON_{1–12}): Mention the respective strftime(3) conversion
specifications.

Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>
---
 man3/nl_langinfo.3 | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3
index 8c0742f..ecc1954 100644
--- a/man3/nl_langinfo.3
+++ b/man3/nl_langinfo.3
@@ -78,31 +78,53 @@ try "locale \-m" (see
 .BR D_T_FMT \ (LC_TIME)
 Return a string that can be used as a format string for
 .BR strftime (3)
-to represent time and date in a locale-specific way.
+to represent time and date in a locale-specific way
+.RB ( %c
+conversion specification).
 .TP
 .BR D_FMT \ (LC_TIME)
 Return a string that can be used as a format string for
 .BR strftime (3)
-to represent a date in a locale-specific way.
+to represent a date in a locale-specific way
+.RB ( %x
+conversion specification).
 .TP
 .BR T_FMT \ (LC_TIME)
 Return a string that can be used as a format string for
 .BR strftime (3)
-to represent a time in a locale-specific way.
+to represent a time in a locale-specific way
+.RB ( %X
+conversion specification).
 .TP
 .BR DAY_ "{1\(en7} (LC_TIME)"
 Return name of the \fIn\fP-th day of the week. [Warning: this follows
 the US convention DAY_1 = Sunday, not the international convention
 (ISO 8601) that Monday is the first day of the week.]
+(Used in
+.B %A
+.BR strftime (3)
+conversion specification.)
 .TP
 .BR ABDAY_ "{1\(en7} (LC_TIME)"
 Return abbreviated name of the \fIn\fP-th day of the week.
+(Used in
+.B %a
+.BR strftime (3)
+conversion specification.)
 .TP
 .BR MON_ "{1\(en12} (LC_TIME)"
 Return name of the \fIn\fP-th month.
+(Used in
+.B %B
+.BR strftime (3)
+conversion specification.)
 .TP
 .BR ABMON_ "{1\(en12} (LC_TIME)"
 Return abbreviated name of the \fIn\fP-th month.
+(Used in
+.B %b
+.BR strftime (3)
+conversion specification.)
 .TP
 .BR RADIXCHAR \ (LC_NUMERIC)
 Return radix character (decimal dot, decimal comma, etc.).
-- 
2.1.4




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux