* [PATCH] strftime.3: document how %z and %Z are calculated
@ 2023-03-08 20:53 Paul Eggert
2023-03-08 21:19 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggert @ 2023-03-08 20:53 UTC (permalink / raw)
To: linux-man; +Cc: Paul Eggert
---
man3/strftime.3 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/man3/strftime.3 b/man3/strftime.3
index 57b2a38aa..90248d0b4 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -417,6 +417,8 @@ The
or
.I \-hhmm
numeric timezone (that is, the hour and minute offset from UTC). (SU)
+(Calculated from
+.IR tm_gmtoff .)
.TP
.B %Z
The timezone name or abbreviation.
@@ -427,6 +429,8 @@ The timezone name or abbreviation.
The date and time in
.BR date (1)
format. (TZ)
+(Calculated from
+.IR tm_zone .)
(Not supported in glibc2.)
.TP
.B %%
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] strftime.3: document how %z and %Z are calculated
2023-03-08 20:53 [PATCH] strftime.3: document how %z and %Z are calculated Paul Eggert
@ 2023-03-08 21:19 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-03-08 21:19 UTC (permalink / raw)
To: Paul Eggert, linux-man
[-- Attachment #1.1: Type: text/plain, Size: 1220 bytes --]
Hi Paul,
Thanks for resending inline! :)
Another thing: please CC or TO me; otherwise I might miss the email.
See the ./CONTRIBUTING file in the repo for more details if necessary.
On 3/8/23 21:53, Paul Eggert wrote:
Would you please add some links in the commit message
to the discussion you had about this?
> ---
> man3/strftime.3 | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/man3/strftime.3 b/man3/strftime.3
> index 57b2a38aa..90248d0b4 100644
> --- a/man3/strftime.3
> +++ b/man3/strftime.3
> @@ -417,6 +417,8 @@ The
> or
> .I \-hhmm
> numeric timezone (that is, the hour and minute offset from UTC). (SU)
My question was about this "(SU)" marker. Should we move it to after
the new sentence maybe? (Same for "(TZ)" below.)
Cheers,
Alex
> +(Calculated from
> +.IR tm_gmtoff .)
> .TP
> .B %Z
> The timezone name or abbreviation.
> @@ -427,6 +429,8 @@ The timezone name or abbreviation.
> The date and time in
> .BR date (1)
> format. (TZ)
> +(Calculated from
> +.IR tm_zone .)
> (Not supported in glibc2.)
> .TP
> .B %%
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-08 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 20:53 [PATCH] strftime.3: document how %z and %Z are calculated Paul Eggert
2023-03-08 21:19 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox