Convert strings to date objects in render