mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +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();
|
||||
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)
|
||||
{
|
||||
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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user