dates working in chrome AND firefox