All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 218711] strftime man page incorrectly claims that TZ is used
Date: Thu, 11 Apr 2024 22:04:09 +0000	[thread overview]
Message-ID: <bug-218711-11311-xNCmZGpzWg@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-218711-11311@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=218711

--- Comment #2 from Guy Harris (gharris@sonic.net) ---
> It would be wise to CC Paul Eggert <eggert@cs.ucla.edu>.

I'm not sure why, given that the tzdb newstrftime man page doesn't mention TZ. 
The tzdb strftime() *code* will use tm_zone if the code is configured to
support it, falls back on using tzname[] and tm_isdst if tzname[] is present,
and otherwise replace %Z with the empty string, so it's only directly affected
by the TZ setting if struct tm doesn't contain tm_zone.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

      parent reply	other threads:[~2024-04-11 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 19:44 [Bug 218711] New: strftime man page incorrectly claims that TZ is used bugzilla-daemon
2024-04-11 21:55 ` Alejandro Colomar
2024-04-11 21:55 ` [Bug 218711] " bugzilla-daemon
2024-04-11 22:04 ` bugzilla-daemon [this message]

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=bug-218711-11311-xNCmZGpzWg@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-man@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.