|
|
@ -37,13 +37,13 @@ function PluviometerSharingDataScreen(props) { |
|
|
|
//---------------ios------------------------
|
|
|
|
const onChange = (e, selectedDate) => { |
|
|
|
setDate(moment(selectedDate)); |
|
|
|
dateTime = moment(selectedDate).format("DD/MM/YYYY").toString(); |
|
|
|
} |
|
|
|
const onCancelPress = () => { |
|
|
|
setDate(moment(defaultDate)); |
|
|
|
setShow(false); |
|
|
|
} |
|
|
|
const onDonePress = () => { |
|
|
|
setDate(moment(date)); |
|
|
|
setShow(false); |
|
|
|
} |
|
|
|
//-------------------------------------------
|
|
|
|