Date and datetime field fixes for Chrome "bug"