From f01d0e5fc51bc6afdc7c6fccbcca7ce7a1b84219 Mon Sep 17 00:00:00 2001 From: Tatiana Villa Date: Sat, 7 Feb 2026 19:59:40 +0100 Subject: [PATCH] Mejorando resultados del tiempo --- eltiempo/servidor/api-weather.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eltiempo/servidor/api-weather.php b/eltiempo/servidor/api-weather.php index 5845906..37a811f 100755 --- a/eltiempo/servidor/api-weather.php +++ b/eltiempo/servidor/api-weather.php @@ -46,7 +46,7 @@ $stmt = $conn->prepare(" MAX(temp_max) AS temp_max, MIN(temp_min) AS temp_min, AVG(humedad) AS humedad, - AVG(lluvia) AS lluvia, + SUM(lluvia) AS lluvia, AVG(nubes) AS nubes, AVG(viento_velocidad) AS viento_velocidad, AVG(viento_direccion) AS viento_direccion