From: Marko Myllynen <myllynen-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Michael Kerrisk (man-pages)"
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH] locale.5: refer to strftime(3) where appropriate
Date: Tue, 09 Jun 2015 17:18:48 +0300 [thread overview]
Message-ID: <5576F5C8.7020903@redhat.com> (raw)
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(-)
diff --git a/man5/locale.5 b/man5/locale.5
index 374f6b2..2a2edc1 100644
--- a/man5/locale.5
+++ b/man5/locale.5
@@ -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,
--
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2015-06-09 14:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 14:18 Marko Myllynen [this message]
[not found] ` <5576F5C8.7020903-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-06-12 18:18 ` [PATCH] locale.5: refer to strftime(3) where appropriate Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5576F5C8.7020903@redhat.com \
--to=myllynen-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).