mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
weather: don't add "°C" to temperatures
Origin commit data
------------------
Commit: e67740f0ce
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-20 (Wed, 20 Mar 2019)
Origin message was:
------------------
- weather: don't add "°C" to temperatures
This commit is contained in:
@@ -67,11 +67,11 @@ class CWeather
|
|||||||
void hide();
|
void hide();
|
||||||
std::string getActTemp()
|
std::string getActTemp()
|
||||||
{
|
{
|
||||||
return to_string((int)(act_temp + 0.5)) + "°C";
|
return to_string((int)(act_temp + 0.5));
|
||||||
};
|
};
|
||||||
std::string getForecastTemp(int i = 0)
|
std::string getForecastTemp(int i = 0)
|
||||||
{
|
{
|
||||||
return to_string((int)(v_forecast[i].max_temp + 0.5)) + "°C";
|
return to_string((int)(v_forecast[i].max_temp + 0.5));
|
||||||
};
|
};
|
||||||
std::string getActIcon()
|
std::string getActIcon()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user