fixed #222 - coercing datetimes into proper format before sending to template