modo mais intuitivo para date picker
@ -121,7 +121,7 @@ export default function DatePicker(props) {
return moment(selectedDate).format("HH:mm");
}
}} //formatar a data e hora do selected date
display={Platform.OS === "ios" ? "spinner" : "default"}
display={"spinner"}
onChange={Platform.OS === "ios" ? onChange : androidOnChange}
/>
);