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