diff options
| -rwxr-xr-x | src/featherweight.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'] |
