[PATCH] Add support for english date names on non-english systems

A. Klitzing aklitzing at gmail.com
Tue Feb 24 13:22:20 UTC 2015


Hi there!

We have here a jenkins with build jobs on different slaves that will do
some operations with "dates" parameter. Some systems uses English locale
and some systems uses German locale. So we needed to configure the job to
uses other date names.

As this is really annoying to keep the systems locale in mind for some
operations I looked into util.py. It would be helpful for automated systems
if the "default English" date names would even usable on other locales.

I attached a simple patch for this.

Best regards
  André Klitzing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150224/d5ea4617/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dates.patch
Type: text/x-diff
Size: 920 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150224/d5ea4617/attachment.patch>


More information about the Mercurial-devel mailing list