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

Re: [PATCH] git-svn: Fix time zone in --localtime

From
W陳Wei-Yin Chen (陳威尹) <chen.weiyin@gmail.com>
Date
Feb 12, 2012, 13:49 UTC
Message-ID
<4F37C35F.9060307@gmail.com>
In-Reply-To
<20120212081553.GA10068@dcvr.yhbt.net>
On 2012-02-12 16:15, Eric Wong wrote:
Show 12 quoted lines
> I needed the following additional change to get things working:
>
> --- a/git-svn.perl
> +++ b/git-svn.perl
> @@ -6111,7 +6111,7 @@ sub run_pager {
>
>   sub format_svn_date {
>   	my $t = shift || time;
> -	my $gmoff = get_tz($t);
> +	my $gmoff = Git::SVN::get_tz($t);
>   	return strftime("%Y-%m-%d %H:%M:%S $gmoff (%a, %d %b %Y)", localtime($t));
>   }

Sorry, my bad. This bug of missing package reference can be triggered by "git svn log", but unfortunately I didn't test this part manually. I'll learn to use the git test suite next time.

>
> If there are no objections, I'll squash this and push for Junio
> tomorrow.
Excellent. Thank you for the testing and fixing effort!
Previous: Eric Wong
Message 3 of 3 in “git-svn: Fix time zone in --localtime”
  1. git-svn: Fix time zone in --localtimeWei-Yin Chen (陳威尹), Dec 19, 2011
  2. Eric WongFeb 12, 2012
  3. Wei-Yin Chen (陳威尹)Feb 12, 2012

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.