This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH][BZ #926] Mention timezone for strftime %s


On Sat, Nov 30, 2013 at 02:57:34AM -0500, Mike Frysinger wrote:
> On Tuesday 05 November 2013 09:30:05 OndÅej BÃlka wrote:
> > 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.
> 
> one of you want to merge it then ? :)
> -mike

Ok, I merged this with following changelog.

diff --git a/ChangeLog b/ChangeLog
index b49a811..55f2c2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       [BZ #926]
+       * manual/time.texi (Calendar Time): Clarify what timezone functions
+       use.
+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]