Make date/time pickers work