|
|
@ -15,6 +15,7 @@ import { showMessage } from "react-native-flash-message"; |
|
|
|
import { dimensions, scaleDimsFromWidth } from "../config/dimensions"; |
|
|
|
import FormDatePicker from "../components/forms/FormDatePicker"; |
|
|
|
import colors from "../config/colors/"; |
|
|
|
import moment from "moment"; |
|
|
|
|
|
|
|
const dims = scaleDimsFromWidth(85, 85, 25); |
|
|
|
|
|
|
@ -31,7 +32,7 @@ const validationSchema = Yup.object().shape({ |
|
|
|
function PluviometerSharingDataScreen(props) { |
|
|
|
const location = useLocation(); |
|
|
|
|
|
|
|
const [dateTime, setDateTime] = useState(); |
|
|
|
const [dateTime, setDateTime] = useState(moment()); |
|
|
|
|
|
|
|
return ( |
|
|
|
<Screen style={styles.container}> |
|
|
|