This also takes care of not trying to convert request.closed_at to a string if it is not a datetime object.
:thumbsup:
Thanks
Pull-Request has been merged by pingou