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

Re: Strange date format in git-send-email

From
Junio C Hamano <junkio@cox.net>
Date
Jul 5, 2006, 21:22 UTC
Message-ID
<7vlkr7bvc1.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<e8fv2o$khv$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
> There were two patches on the list: one hacky adding setlocale 
> call (not applied), second implementing rfc-822 date in Perl.
> Should be in current.
What do you mean by "should be in current"?

I specifically asked you about this issue a few days ago, even with a patch to test out for people who are having problems, but haven't heard back anything yet. The issue is still on hold and not in "current" as far as I am concerned.

    To: Jakub Narebski <jnareb@gmail.com>
    Cc: git@vger.kernel.org, Eric Wong <normalperson@yhbt.net>
    From: Junio C Hamano <junkio@cox.net>
    Subject: Re: [PATCH] send-email: Use setlocale in addition to
        $ENV{LC_ALL} to set locale
    Date: Sun, 02 Jul 2006 19:49:50 -0700
    Message-ID: <7vd5cnv1v5.fsf@assigned-by-dhcp.cox.net>
    I was reviewing old log and noticed this topic has never been
    resolved.  Your proposal was to use POSIX::setlocale(), and
    Eric's counter-proposal was to mimic what 822-date script does,
    doing it by hand without mucking with locales, and the
    discussion seemed to have died there.  Does this still need to
    be addressed?
    My gut feeling is that it would probably be less problematic if
    we do not muck with locales at all (so drop POSIX::strftime as
    well).
    So maybe something like this (totally untested)?
    ...
Previous: Jakub NarebskiNext: Jakub Narebski
Message 3 of 9 in “Strange date format in git-send-email”
  1. Martijn KuipersJul 5, 2006
  2. Jakub NarebskiJul 5, 2006
  3. Junio C HamanoJul 5, 2006
  4. do not use locale specific strftime when preparing 2822 dateJakub Narebski, Jul 7, 2006
  5. Jakub NarebskiJul 7, 2006
  6. Junio C HamanoJul 7, 2006
  7. Jakub NarebskiJul 7, 2006
  8. Junio C HamanoJul 7, 2006
  9. Jakub NarebskiJul 7, 2006

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.