check if value can be converted

If an RSS feed entry doesn't have a date field the value is an empty string which caused this template filter to fail. 
In my solution a do a type check, but may be you find it more pythonic to use a try except :-).