diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-06 19:38:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-06 19:38:13 +0300 |
commit | 7b14d12d7f84d63b1332aa1ba74c2c67f76c5095 (patch) | |
tree | 7f69d747d5b070044b7f801403e529421cbca0b6 /protocols/Weather/src | |
parent | 50cf480fdef6d3b3adb0839295511d0e2081e969 (diff) |
fixes #4943 (Weather: не хватает дат или, хотя бы, названий дней недели у 5-дневного прогноза)
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_update.cpp | 1 |
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())); |