Fix datetime issues with Safari. refs #85