diff options
Diffstat (limited to 'dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch')
-rw-r--r-- | dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch b/dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch new file mode 100644 index 000000000000..53d4bb868302 --- /dev/null +++ b/dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch @@ -0,0 +1,13 @@ +Index: python-dateutil/example.py +=================================================================== +--- python-dateutil.orig/example.py 2006-09-06 13:21:44.000000000 +0200 ++++ python-dateutil/example.py 2006-09-06 13:21:56.000000000 +0200 +@@ -5,7 +5,7 @@ + from datetime import * + import commands + import os +-now = parse(commands.getoutput("date")) ++now = parse(commands.getoutput("LC_ALL=C date")) + today = now.date() + year = rrule(YEARLY,bymonth=8,bymonthday=13,byweekday=FR)[0].year + rdelta = relativedelta(easter(year), today) |