Fixed date/time bug not working on Firefox