|
@ -32,7 +32,7 @@ function insertFloodZone({ images, description, passable, location, date, time, |
|
|
parseFloat(location["longitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
parseInt(passable), |
|
|
parseInt(passable), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(time).format("HH:MM"), |
|
|
|
|
|
|
|
|
moment(time).format("HH:mm"), |
|
|
address, |
|
|
address, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ function insertPluviometerData({ pluviometer, images, dateTime, time, location, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const values = [ |
|
|
const values = [ |
|
|
moment(dateTime).format("DD/MM/YYYY") +" | "+ moment(time).format("HH:MM"), |
|
|
|
|
|
|
|
|
moment(dateTime).format("DD/MM/YYYY") +" | "+ moment(time).format("HH:mm"), |
|
|
JSON.stringify(images), |
|
|
JSON.stringify(images), |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
parseFloat(location["longitude"]), |
|
@ -74,7 +74,7 @@ function insertRainData({ images, description, rain, location, date, time, addre |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(time).format("HH:MM"), |
|
|
|
|
|
|
|
|
moment(time).format("HH:mm"), |
|
|
address, |
|
|
address, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ function insertRiverData({ images, description, riverScale, location, date, time |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["latitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
parseFloat(location["longitude"]), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(date).format("DD/MM/YYYY"), |
|
|
moment(time).format("HH:MM"), |
|
|
|
|
|
|
|
|
moment(time).format("HH:mm"), |
|
|
address, |
|
|
address, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|