From: tony.luck@intel.com
To: David Woodhouse <dwmw2@infradead.org>
Cc: Linus Torvalds <torvalds@osdl.org>, git@vger.kernel.org
Subject: Re: Date handling.
Date: Thu, 14 Apr 2005 12:19:41 -0700 [thread overview]
Message-ID: <200504141919.j3EJJfG04166@unix-os.sc.intel.com> (raw)
In-Reply-To: <1113500316.27227.8.camel@hades.cambridge.redhat.com>
> OK. commit-tree now eats RFC2822 dates as AUTHOR_DATE because that's
> what you're going to want to feed it. We store seconds since UTC epoch,
> we add the author's or committer's timezone as auxiliary data so that
> dates can be pretty-printed in the original timezone later if anyone
> cares.
With a UTC date, why would anyone care in which timezone the commit was
made? Any pretty printing would most likely be prettiest if it is done
relative to the timezone of the person looking at the commit record, not
the person who created the record.
If we do need the timezone, then I think we also need the latitude of the
committer too, so that we know whether to interpret "July" as summer or
winter :-)
-Tony
next prev parent reply other threads:[~2005-04-14 19:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 8:16 Date handling David Woodhouse
2005-04-14 9:00 ` Linus Torvalds
2005-04-14 9:12 ` Linus Torvalds
2005-04-14 17:38 ` David Woodhouse
2005-04-14 19:19 ` tony.luck [this message]
2005-04-14 19:23 ` David Woodhouse
2005-04-24 3:04 ` Jan Harkes
2005-04-24 3:33 ` James Purser
2005-04-24 6:38 ` David Woodhouse
2005-04-24 6:43 ` Russ Allbery
2005-04-25 1:22 ` Jan Harkes
2005-04-25 1:32 ` Russ Allbery
2005-04-14 9:31 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2005-04-14 19:42 Luck, Tony
2005-04-14 20:54 ` David Woodhouse
2005-04-14 21:01 ` H. Peter Anvin
2005-04-14 21:48 ` David Woodhouse
2005-04-15 5:02 ` Paul Jackson
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=200504141919.j3EJJfG04166@unix-os.sc.intel.com \
--to=tony.luck@intel.com \
--cc=dwmw2@infradead.org \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).