mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-23 13:24:06 +00:00
Merge branch 'develop' into feature/indoorHumidity
* develop: (71 commits) Update sample address set version of express-ipfilter: Describe default in comment of sample config More secure defaults. Fix grunt errors Weather forecast settings match current weather Fix JavaScript error in weatherforecast Update fr.json TestSuite: Show the missing strings for translations files. Update fr.json with added translations Added e2e test for font files Fix issue #986 Fix extra tab file translations/zh_cn.json Add Changelog entry for new e2e test for helloworld module Small change for re-running Travis CI Change Two Conditionals to UpperCase-If Fix linting? Show Scale of Temperature if config flag is set Change to install Roboto fonts by npm Update stylelint package ... # Conflicts: # CHANGELOG.md
This commit is contained in:
@@ -486,7 +486,7 @@ Module.register("currentweather",{
|
||||
*
|
||||
* argument temperature number - Temperature.
|
||||
*
|
||||
* return number - Rounded Temperature.
|
||||
* return string - Rounded Temperature.
|
||||
*/
|
||||
roundValue: function(temperature) {
|
||||
var decimals = this.config.roundTemp ? 0 : 1;
|
||||
|
Reference in New Issue
Block a user