mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 02:36:47 +00:00 
			
		
		
		
	Merge branch 'develop' into patch-1
This commit is contained in:
		| @@ -9,6 +9,8 @@ | ||||
|  * | ||||
|  * Copyright 2014, Codrops | ||||
|  * https://tympanus.net/codrops/ | ||||
|  * | ||||
|  * @param {object} window The window object | ||||
|  */ | ||||
| (function (window) { | ||||
| 	/** | ||||
|   | ||||
| @@ -8,9 +8,9 @@ | ||||
|         {% set forecast = forecast.slice(0, numSteps) %} | ||||
|         {% for f in forecast %} | ||||
|             <tr {% if config.colored %}class="colored"{% endif %} {% if config.fade %}style="opacity: {{ currentStep | opacity(numSteps) }};"{% endif %}> | ||||
|                 {% if (currentStep == 0) and config.ignoreToday == false %} | ||||
|                 {% if (currentStep == 0) and config.ignoreToday == false and config.absoluteDates == false %} | ||||
|                     <td class="day">{{ "TODAY" | translate }}</td> | ||||
|                 {% elif (currentStep == 1) and config.ignoreToday == false %} | ||||
|                 {% elif (currentStep == 1) and config.ignoreToday == false and config.absoluteDates == false %} | ||||
|                     <td class="day">{{ "TOMORROW" | translate }}</td> | ||||
|                 {% else %} | ||||
|                     <td class="day">{{ f.date.format('ddd') }}</td> | ||||
|   | ||||
| @@ -43,7 +43,8 @@ Module.register("weather", { | ||||
| 		onlyTemp: false, | ||||
| 		showPrecipitationAmount: false, | ||||
| 		colored: false, | ||||
| 		showFeelsLike: true | ||||
| 		showFeelsLike: true, | ||||
| 		absoluteDates: false | ||||
| 	}, | ||||
|  | ||||
| 	// Module properties. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user