recalcular

This commit is contained in:
2023-04-08 21:57:37 +02:00
parent e21858a4f9
commit 72c330e17f

View File

@@ -22,7 +22,7 @@ const fecha = ref("");
const calcular = () => {
let valor = 0;
valor = temp_max.value - humedad_relativa.value * 0.2;
valor = temp_max.value - humedad_relativa.value * 0.37;
//console.log(Math.round(valor));
let hoy = new Date();
let newDate = date.addToDate(hoy, { days: Math.round(valor) });