Skip to content

Commit

Permalink
gpodder.util: Fix timestamp issues (bug 1983)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Feb 15, 2015
1 parent b2cf183 commit 8c537c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gpodder/util.py
Expand Up @@ -502,7 +502,10 @@ def format_date(timestamp):
except ValueError, ve:
logger.warn('Cannot convert timestamp', exc_info=True)
return None

except TypeError, te:
logger.warn('Cannot convert timestamp', exc_info=True)
return None

if timestamp_date == today:
return _('Today')
elif timestamp_date == yesterday:
Expand Down

0 comments on commit 8c537c7

Please sign in to comment.