Merge branch 'master' into dev

This commit is contained in:
Blaz Kristan 2021-09-27 16:31:28 +02:00
commit a94b5ba0c0
7 changed files with 9 additions and 9 deletions

View File

@ -49,7 +49,7 @@ A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control
## 📲 Quick start guide and documentation ## 📲 Quick start guide and documentation
See the [wiki](https://github.com/Aircoookie/WLED/wiki)! See the [documentation on our official site](https://kno.wled.ge)!
[On this page](https://github.com/Aircoookie/WLED/wiki/Learning-the-ropes) you can find excellent tutorials made by the community and helpful tools to help you get your new lamp up and running! [On this page](https://github.com/Aircoookie/WLED/wiki/Learning-the-ropes) you can find excellent tutorials made by the community and helpful tools to help you get your new lamp up and running!

View File

@ -90,7 +90,7 @@ function writeHtmlGzipped(sourceFile, resultFile, page) {
* Binary array for the Web UI. * Binary array for the Web UI.
* gzip is used for smaller size and improved speeds. * gzip is used for smaller size and improved speeds.
* *
* Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */
@ -175,7 +175,7 @@ function writeChunks(srcDir, specs, resultFile) {
let src = `/* let src = `/*
* More web UI HTML source arrays. * More web UI HTML source arrays.
* This file is auto generated, please don't make any changes manually. * This file is auto generated, please don't make any changes manually.
* Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */
`; `;

View File

@ -1,7 +1,7 @@
/* /*
* More web UI HTML source arrays. * More web UI HTML source arrays.
* This file is auto generated, please don't make any changes manually. * This file is auto generated, please don't make any changes manually.
* Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */

View File

@ -1,7 +1,7 @@
/* /*
* More web UI HTML source arrays. * More web UI HTML source arrays.
* This file is auto generated, please don't make any changes manually. * This file is auto generated, please don't make any changes manually.
* Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */

View File

@ -2,7 +2,7 @@
* Binary array for the Web UI. * Binary array for the Web UI.
* gzip is used for smaller size and improved speeds. * gzip is used for smaller size and improved speeds.
* *
* Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */

View File

@ -2,7 +2,7 @@
* Binary array for the Web UI. * Binary array for the Web UI.
* gzip is used for smaller size and improved speeds. * gzip is used for smaller size and improved speeds.
* *
* Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */

View File

@ -437,7 +437,7 @@ void calculateSunriseAndSunset() {
// there is a sunrise // there is a sunrise
tim_0.tm_hour = minUTC / 60; tim_0.tm_hour = minUTC / 60;
tim_0.tm_min = minUTC % 60; tim_0.tm_min = minUTC % 60;
sunrise = tz->toLocal(mktime(&tim_0) - utcOffsetSecs); sunrise = tz->toLocal(mktime(&tim_0) + utcOffsetSecs);
DEBUG_PRINTF("Sunrise: %02d:%02d\n", hour(sunrise), minute(sunrise)); DEBUG_PRINTF("Sunrise: %02d:%02d\n", hour(sunrise), minute(sunrise));
} else { } else {
sunrise = 0; sunrise = 0;
@ -448,7 +448,7 @@ void calculateSunriseAndSunset() {
// there is a sunset // there is a sunset
tim_0.tm_hour = minUTC / 60; tim_0.tm_hour = minUTC / 60;
tim_0.tm_min = minUTC % 60; tim_0.tm_min = minUTC % 60;
sunset = tz->toLocal(mktime(&tim_0) - utcOffsetSecs); sunset = tz->toLocal(mktime(&tim_0) + utcOffsetSecs);
DEBUG_PRINTF("Sunset: %02d:%02d\n", hour(sunset), minute(sunset)); DEBUG_PRINTF("Sunset: %02d:%02d\n", hour(sunset), minute(sunset));
} else { } else {
sunset = 0; sunset = 0;