You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/python-dateutil/files/python-dateutil-1.4.1-local...

14 lines
532 B

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)