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

Re: [PATCH 1/3] Move Git::SVN::get_tz to Git::get_tz_offset

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 16, 2013, 15:37 UTC
Message-ID
<7vehhlyw90.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1358291405-10173-2-git-send-email-bdwalton@gmail.com>
Ben Walton <bdwalton@gmail.com> writes:
> +sub get_tz_offset {
> +	# some systmes don't handle or mishandle %z, so be creative.

Hmph. I wonder if we can use %z if it is handled correctly and fall back to this code only on platforms that are broken?

Previous: Ben WaltonNext: Ben Walton
Message 3 of 13 in “Fix a portability issue with git-cvsimport”
  1. 0/3 Fix a portability issue with git-cvsimportBen Walton, Jan 15, 2013
  2. 1/3 Move Git::SVN::get_tz to Git::get_tz_offsetBen Walton, Jan 15, 2013
  3. Junio C HamanoJan 16, 2013
  4. Ben WaltonJan 16, 2013
  5. Junio C HamanoJan 16, 2013
  6. 2/3 Allow Git::get_tz_offset to properly handle DST boundary timesBen Walton, Jan 15, 2013
  7. Junio C HamanoJan 17, 2013
  8. Ben WaltonJan 20, 2013
  9. Junio C HamanoJan 20, 2013
  10. 3/3 Avoid non-portable strftime format specifiers in git-cvsimportBen Walton, Jan 15, 2013
  11. Chris RorvickJan 16, 2013
  12. Ben WaltonJan 16, 2013
  13. Junio C HamanoJan 15, 2013

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.