[PING][PATCH][BZ #926] Mention timezone for strftime %s
Ondřej Bílka
neleai@seznam.cz
Tue Nov 5 14:31:00 GMT 2013
On Wed, Oct 30, 2013 at 11:22:20AM -0700, Paul Eggert wrote:
> On 10/30/2013 08:38 AM, OndÅej BÃlka wrote:
>
> > +Note that like mktime, this uses the current time zone instead of tm_gmtoff.
>
> I like the idea of documenting this part of strftime, but the proposed
> documentation could be improved. First, it's not just tm_gmtoff; it's
> also tm_zone. Second, the documentation for mktime doesn't mention
> the fact that mktime uses the current time zone rather than tm_gmtoff,
> and it's odd that one must look to strftime to find this fact
> documented. Third, words like mktime and tm_gmtoff should be marked
> with @code. Fourth, let's omit the "Note that." And finally, there
> are similar problems elsewhere in that chapter.
>
> How about the following patch instead?
>
Yes, this one is better.
More information about the Libc-alpha
mailing list