Re: [ISSUE] Stop accessing, storing, and sharing the user's time zone
- From
Santiago Torres Arias <santiago@nyu.edu>
- Date
- Dec 5, 2019, 17:53 UTC
- Message-ID
- <20191205175326.fxgfofr4xvh7kaxb@LykOS.localdomain>
- In-Reply-To
- <xmqqwobazmzp.fsf@gitster-ct.c.googlers.com>
On Thu, Dec 05, 2019 at 09:43:54AM -0800, Junio C Hamano wrote:
Show 11 quoted lines
> "Randall S. Becker" <rsbecker@nexbridge.com> writes: > > > .... I currently am > > running a repository located at UTC+2, with developers at > > UTC-5. It is driving us a bit wonky. I would rather see only UTC. > > I also feel that TZ being PII is not particularly a brilliant > argument against recording TZ---of course it is PII, so are the > committer e-mail address and the committer name. Those who want to > hide can hide but in order to keep track of provenance who did what > when, we do record them.
This is exactly what I had found confusing from the original post.
> > As you can guess from the above reasoning, I am not fundamentally > opposed to introducing user.tz to complement existing user.name and > user.email configuration variables.
This sounds like a small delta that would probably please everyone. For now, using the --date argument on git commit allows you to also pass a timezone:
git commit --date="$(TZ=PST date)"
Which you could easily alias...
Thanks, -Santiago