From e3444eb9887dcd7ed5ead34c9e90caf24bb4b528 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 25 Jul 2013 12:45:31 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/featherweight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/featherweight.py b/src/featherweight.py index f84a7fb..142c917 100755 --- a/src/featherweight.py +++ b/src/featherweight.py @@ -49,7 +49,7 @@ def rss_date(value): value = value.replace(':', ' ').split(' ') (_, day, month, year, hour, minute, second, offset) = value offsign, offhour, offmin = offset[0] == '+', offset[1 : 3], offset[3 : 5] - year, day = int(year), month.lower(), int(day) + year, month, day = int(year), month.lower(), int(day) hour, minute, second = int(hour), int(minute), int(second) offhour, offmin = int(offhour), int(offmin) months = ['', 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] -- cgit v1.2.3-70-g09d2