git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Localization: Timestamps get wrong if using different locales
@ 2012-08-05  9:08 Christoph Miebach
  2012-08-05 20:47 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Miebach @ 2012-08-05  9:08 UTC (permalink / raw)
  To: git

Hello!

Running this commands locally (german locale) lead to some wrong dates 
for the patches upstream.

git format-patch -o patches origin

git send-email --compose --no-chain-reply-to --to some@address.com 
--suppress-cc=author patches/0001-l10n-Turkish-update.patch


The local
Date: Sat, 4 Aug 2012
became
       Wed, 8 Dec 2004

So it looks like matching  DD=04=YY  MM=08=DD  and  YY=12=MM

German date format usually looks DD.MM.YYYY

A workaround for me was running the lines with LANGUAGE=en



I am using
git-send-email 1.7.10.4
with the patch from here
http://www.mail-archive.com/git@vger.kernel.org/msg05240.html
but I do not expect this to do any harm here.

Shall I provide more information?

Regards

Christoph

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-11 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05  9:08 Localization: Timestamps get wrong if using different locales Christoph Miebach
2012-08-05 20:47 ` Junio C Hamano
2012-08-11 16:22   ` Christoph Miebach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).