send-email: format 2822 datestring ourselves.
It is not worth trying to force C locale (and failing) just to format the 2822 datestring. This code was borrowed from /usr/bin/822-date (Ian Jackson and Klee Dienes, both in public domain), per suggestion by Eric Wong. Signed-off-by: NJunio C Hamano <junkio@cox.net> Acked-by: NJakub Narebski <jnareb@gmail.com>
Showing
想要评论请 注册 或 登录