Fixed a bug related to fahrenheit.

This commit is contained in:
deepjyoti30
2020-05-15 22:56:48 +05:30
parent ff8622f185
commit 4a96ec2b92
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@
"disableDate": false,
"disableSearchBar": false,
"disable24Hour": false,
"disableWeather": true,
"disableWeather": false,
"weatherConf": {
"location": "Pune India",
"unit": "fah"

View File

@@ -123,7 +123,7 @@ function updateTimeHook() {
}
function getFahrenheit(inCelcius) {
return (inCelcius * 9 / 5) + 32
return ((inCelcius * 9 / 5) + 32).toFixed(2)
}
function indexUppercase(unformatted) {