Re: [PATCH] strbuf: let strbuf_addftime handle %z and %Z itself
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 13, 2017, 06:23 UTC
- Message-ID
- <CA+55aFz5TC5XWWEZkf=e3rJZFwvQJoFyvWSaNSTiQZM3-yiOKQ@mail.gmail.com>
- In-Reply-To
- <20170612211022.k7t2ywngrdcrkehn@sigill.intra.peff.net>
On Mon, Jun 12, 2017 at 2:10 PM, Jeff King <peff@peff.net> wrote:
> > I suspect nobody has complained because we generally encourage real > "-0800" names when specifying zones.
That's what any sane person uses, and it's what SMTP requiries.
The timezone names are a (bad) joke. If a human can't understand them (and people don't), there's no point in thinking that a computer should either.
So yes, timezones should strive very much to be numeric. The names are an incomprehensible mess. Don't rely on them, and try to avoid using them.
Linus