Hi,

The commit-email.pl script generates a wrong "Date:" header in some
locales, e.g.

Date: Tue, 20 May 2014 04:21:21 PM +0200

AFAIK, the reason is that in the strftime line, it uses %X instead
of %T. Actually there may also be problems with %a and %b, and for
these ones, the only possibility seems to locally change the locale
to C (and possibly change it back after the strftime).

This problem is still present:

  
http://svn.apache.org/viewvc/subversion/trunk/contrib/hook-scripts/commit-email.pl.in?view=markup

(revision 1295006).

In old versions of the script, the "Date:" header was not included,
thus was generated by the mail server and was correct.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to