summaryrefslogtreecommitdiff
path: root/dev-python/python-dateutil/files/python-dateutil-1.4.1-locale.patch
blob: 53d4bb86830279dbfad61d7832321cc84b92b158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)