git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Gmail munges dates?

From
Denton Liu <liu.denton@gmail.com>
Date
Dec 13, 2019, 01:57 UTC
Message-ID
<20191213015753.GA14249@generichostname>
Hi all,

It seems like Gmail is munging the dates on patches sent. Before today, I've been sending patches out with mutt but I decided to switch to git-send-email today since I was forwarding a patch that wasn't mine and I wanted to preserve the date as part of the authorship information.

Unfortunately, it seems like mutt wasn't the culprit, it was Gmail that's been munging the dates. For example, in this patch[1], the date shows as

	Date: Thu, 12 Dec 2019 16:44:50 -0800
even though locally, the output of the format-patch shows as
	Date: Mon, 9 Dec 2019 19:25:34 +0100
So two questions related to this:
1. Is this something that we care about or is it okay to have fudged
dates? (I know all of my patches in each patchset only differ by a few
seconds and it seems like no one has noticed or cared so far)
2. Do we want to introduce a --in-body-date option or something to
format-patch which would include an in-body Date:, similar to the
in-body From:? (Also, while we're at it, maybe we could include an
--in-body-from to force that to happen since that's been a feature that
was requested in the past[2])
Thanks,
Denton

[1]: https://lore.kernel.org/git/8691ed2b84f7ee6b7c12d04d57a541bf22660333.1576197846.git.liu.denton@gmail.com/ [2]: https://lore.kernel.org/git/20191010225405.GA19475@sigill.intra.peff.net/

Next: Jeff King
Message 1 of 4 in “Gmail munges dates?”
  1. Denton LiuDec 13, 2019
  2. Jeff KingDec 13, 2019
  3. Junio C HamanoDec 13, 2019
  4. Junio C HamanoDec 13, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.