File: fix_locale.diff

package info (click to toggle)
python-dateutil 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 688 kB
  • ctags: 848
  • sloc: python: 6,456; makefile: 24
file content (13 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
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)