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