Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* ChangeLog entry dates...
@ 2007-02-27 23:07 Joel Brobecker
  2007-02-27 23:19 ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2007-02-27 23:07 UTC (permalink / raw)
  To: gdb-patches

Hello,

I have a question/suggestion regarding the date that should be used in
a ChangeLog entry, like so:

    2007-02-27  Joel Brobecker  <brobecker@adacore.com>

I suggest we try to use the UTC date at the time the change was
checked in.

With contributors such as Nick that leave at UTC+something in
New Zealand (according to email address), and folks like myself
that leave on the West Coast of North America, which is UTC-lots,
it's very easy to have entries that is one day ahead of me, thus
breaking the date ordering...

-- 
Joel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ChangeLog entry dates...
  2007-02-27 23:07 ChangeLog entry dates Joel Brobecker
@ 2007-02-27 23:19 ` Nick Roberts
  2007-02-28  1:02   ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Roberts @ 2007-02-27 23:19 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

 > I have a question/suggestion regarding the date that should be used in
 > a ChangeLog entry, like so:
 > 
 >     2007-02-27  Joel Brobecker  <brobecker@adacore.com>
 > 
 > I suggest we try to use the UTC date at the time the change was
 > checked in.
 > 
 > With contributors such as Nick that leave at UTC+something in
 > New Zealand (according to email address), and folks like myself
 > that leave on the West Coast of North America, which is UTC-lots,
 > it's very easy to have entries that is one day ahead of me, thus
 > breaking the date ordering...

I think something like below works, at least for Emacs users (this is what
Emacs uses now).  Yes, I know GDB isn't Emacs -- but it would stop people
like me being a problem, and mean I don't have to set my clock to UTC
(or set add-log-time-zone-rule to t in my .emacs).

-- 
Nick                                           http://www.inet.net.nz/~nickrob


*** ChangeLog	28 Feb 2007 10:58:39 +1300	1.8201
--- ChangeLog	28 Feb 2007 12:13:44 +1300	
*************** mode: change-log
*** 1455,1458 ****
--- 1455,1459 ----
  left-margin: 8
  fill-column: 74
  version-control: never
+ add-log-time-zone-rule: t
  End:


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ChangeLog entry dates...
  2007-02-27 23:19 ` Nick Roberts
@ 2007-02-28  1:02   ` Daniel Jacobowitz
  2007-02-28  1:21     ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-28  1:02 UTC (permalink / raw)
  To: Nick Roberts; +Cc: Joel Brobecker, gdb-patches

On Wed, Feb 28, 2007 at 12:19:26PM +1300, Nick Roberts wrote:
> I think something like below works, at least for Emacs users (this is what
> Emacs uses now).  Yes, I know GDB isn't Emacs -- but it would stop people
> like me being a problem, and mean I don't have to set my clock to UTC
> (or set add-log-time-zone-rule to t in my .emacs).

What does it do?

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ChangeLog entry dates...
  2007-02-28  1:02   ` Daniel Jacobowitz
@ 2007-02-28  1:21     ` Nick Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Roberts @ 2007-02-28  1:21 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Joel Brobecker, gdb-patches

 > > I think something like below works, at least for Emacs users (this is what
 > > Emacs uses now).  Yes, I know GDB isn't Emacs -- but it would stop people
 > > like me being a problem, and mean I don't have to set my clock to UTC
 > > (or set add-log-time-zone-rule to t in my .emacs).
 > 
 > What does it do?

Documentation:
Time zone used for calculating change log time stamps.
It takes the same format as the TZ argument of `set-time-zone-rule'.
If nil, use local time.
If t, use universal time.

Actually I see it's been renamed from change-log-time-zone-rule in Emacs 22.
There might not be a time zone invented yet in which Emacs 22 will be released
but adding both:

change-log-time-zone-rule: t
add-log-time-zone-rule: t

should work for all versions.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-28  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 23:07 ChangeLog entry dates Joel Brobecker
2007-02-27 23:19 ` Nick Roberts
2007-02-28  1:02   ` Daniel Jacobowitz
2007-02-28  1:21     ` Nick Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox