diff --git a/CHANGELOG.md b/CHANGELOG.md index d7956427..128d5525 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ### Development versions after 0.9.1 release +#### Build 2005020 + +- Added ACST and ACST/ACDT timezones + #### Build 2005010 - Added module info page to web UI diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 1e6db0d0..d3b78d4d 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -384,6 +384,8 @@ Time zone: + +
UTC offset: seconds (max. 18 hours)
Current local time is unknown. diff --git a/wled00/ntp.cpp b/wled00/ntp.cpp index d6332fd2..4836ed34 100644 --- a/wled00/ntp.cpp +++ b/wled00/ntp.cpp @@ -60,8 +60,13 @@ Timezone tzNK(NKST, NKST); TimeChangeRule IST = {Last, Sun, Mar, 1, 330}; // India Standard Time = UTC + 5.5 hours Timezone tzIndia(IST, IST); +TimeChangeRule ACST = {First, Sun, Apr, 3, 570}; //Australian Central Standard = UTC + 9.5 hours +TimeChangeRule ACDT = {First, Sun, Oct, 2, 630}; //Australian Central Daylight = UTC + 10.5 hours +Timezone tzAUNorthern(ACST, ACST); +Timezone tzAUSouthern(ACDT, ACST); + // Pick your timezone from here. -Timezone* timezones[] = {&tzUTC, &tzUK, &tzEUCentral, &tzEUEastern, &tzUSEastern, &tzUSCentral, &tzUSMountain, &tzUSArizona, &tzUSPacific, &tzChina, &tzJapan, &tzAUEastern, &tzNZ, &tzNK, &tzIndia, &tzCASaskatchewan}; +Timezone* timezones[] = {&tzUTC, &tzUK, &tzEUCentral, &tzEUEastern, &tzUSEastern, &tzUSCentral, &tzUSMountain, &tzUSArizona, &tzUSPacific, &tzChina, &tzJapan, &tzAUEastern, &tzNZ, &tzNK, &tzIndia, &tzCASaskatchewan, &tzAUNorthern, &tzAUSouthern}; void handleNetworkTime() { diff --git a/wled00/wled.h b/wled00/wled.h index 66b8d495..1a04b3e5 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2005010 +#define VERSION 2005020 // ESP8266-01 (blue) got too little storage space to work with all features of WLED. To use it, you must use ESP8266 Arduino Core v2.4.2 and the setting 512K(No SPIFFS).