summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-06 19:38:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-06 19:38:13 +0300
commit7b14d12d7f84d63b1332aa1ba74c2c67f76c5095 (patch)
tree7f69d747d5b070044b7f801403e529421cbca0b6 /protocols/Weather/src
parent50cf480fdef6d3b3adb0839295511d0e2081e969 (diff)
fixes #4943 (Weather: не хватает дат или, хотя бы, названий дней недели у 5-дневного прогноза)
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_update.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp
index 3082d8d2c1..a64bf7e063 100644
--- a/protocols/Weather/src/weather_update.cpp
+++ b/protocols/Weather/src/weather_update.cpp
@@ -373,6 +373,7 @@ static double g_elevation = 0;
static void getData(OBJLIST<WIDATAITEM> &arValues, const JSONNode &node)
{
+ arValues.insert(new WIDATAITEM(LPGENW("Date"), L"", parseConditions(node["datetime"].as_mstring())));
arValues.insert(new WIDATAITEM(LPGENW("Condition"), L"", parseConditions(node["conditions"].as_mstring())));
arValues.insert(new WIDATAITEM(LPGENW("Temperature"), L"C", node["temp"].as_mstring()));
arValues.insert(new WIDATAITEM(LPGENW("High"), L"C", node["tempmax"].as_mstring()));