diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index e60bdde..7383e43 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -22,8 +22,9 @@ const fecha = ref(""); const calcular = () => { let valor = 0; - valor = temp_max.value - humedad_relativa.value * 0.37; - //console.log(Math.round(valor)); + valor = temp_max.value - humedad_relativa.value * 0.2; + // ajustar + valor = valor * 0.5; let hoy = new Date(); let newDate = date.addToDate(hoy, { days: Math.round(valor) }); fecha.value = newDate.toLocaleDateString("es-es", {