Make dates Firefox compatible