[fix] use date and time picker only in firefox