Re: [PATCH] am: invoke perl's strftime in C locale
- From
Jeff King <peff@peff.net>
- Date
- Jan 15, 2013, 16:50 UTC
- Message-ID
- <20130115165058.GA29301@sigill.intra.peff.net>
- In-Reply-To
- <CALWbr2w+q5=Z8__g+J_s2NtTMgziHrntFqsi8vCJyvfO2qi81A@mail.gmail.com>
On Tue, Jan 15, 2013 at 05:42:12PM +0100, Antoine Pelisse wrote:
Show 7 quoted lines
> > This puts all of perl into the C locale, which would mean error messages > > from perl would be in English rather than the user's language. It > > probably isn't a big deal, because that snippet of perl is short and not > > likely to produce problems, but I wonder how hard it would be to set the > > locale just for the strftime call. > > Maybe just setting LC_TIME to C would do ...
Yeah, that is a nice simple solution. Dmitry, does just setting LC_TIME fix the problem for you?
-Peff