This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
How to retrieve timezone? #51
Labels
enhancement
New feature or request
Comments
Hi, I already add the new requested feature and will publish new release within tomorrow. Hereafter is the debug terminal
|
Awesome. Thank you. That was fast! I'm assuming I will need to read the stored value from the config file and am hoping it will store the offset from GMT as that is what I need to convert the NTP time to local time. |
Will publish new v1.8.0 soon, waiting for final touch.
The debug terminal outputs 1. ESP8266
2. ESP32
|
khoih-prog
added a commit
that referenced
this issue
May 2, 2021
### Major Releases v1.8.0 1. Add auto-Timezone feature with variable `_timezoneName` (e.g. `America/New_York`) and function to retrieve TZ (e.g. `EST5EDT,M3.2.0,M11.1.0`) to use directly to configure ESP32/ESP8266 timezone. Check [How to retrieve timezone? #51](#51) 2. Store those `_timezoneName` and `TZ` in LittleFS or SPIFFS config file. 3. Using these new timezone feature is optional. 4. Add checksum in config file to validate data read from LittleFS or SPIFFS config file. 5. Update examples to show how to use the new TZ feature.
khoih-prog
added a commit
that referenced
this issue
May 2, 2021
### Major Releases v1.8.0 1. Add auto-Timezone feature with variable `_timezoneName` (e.g. `America/New_York`) and function to retrieve TZ (e.g. `EST5EDT,M3.2.0,M11.1.0`) to use directly to configure ESP32/ESP8266 timezone. Check [How to retrieve timezone? #51](#51) 2. Store those `_timezoneName` and `TZ` in LittleFS or SPIFFS config file. 3. Using these new timezone feature is optional. 4. Add checksum in config file to validate data read from LittleFS or SPIFFS config file. 5. Update examples to show how to use the new TZ feature.
The ESPAsync_WiFiManager Releases v1.8.0 has just been published. Your request for enhancement, leading to new v1.8.0 has also been noted in Contributions and Thanks Major Releases v1.8.0
|
khoih-prog
added a commit
to khoih-prog/ESP_WiFiManager
that referenced
this issue
May 7, 2021
### Major Releases v1.7.0 1. Add auto-Timezone feature with variable `_timezoneName` (e.g. `America/New_York`) and function to retrieve TZ (e.g. `EST5EDT,M3.2.0,M11.1.0`) to use directly to configure ESP32/ESP8266 timezone. Check [How to retrieve timezone? #51](khoih-prog/ESPAsync_WiFiManager#51) for more info. 2. Store those `_timezoneName` and `TZ` in LittleFS or SPIFFS config file. 3. Using these new timezone feature is optional. 4. Add checksum in config file to validate data read from LittleFS or SPIFFS config file. 5. Update examples to show how to use the new TZ feature.
khoih-prog
added a commit
to khoih-prog/ESP_WiFiManager
that referenced
this issue
May 7, 2021
### Major Releases v1.7.0 1. Add auto-Timezone feature with variable `_timezoneName` (e.g. `America/New_York`) and function to retrieve TZ (e.g. `EST5EDT,M3.2.0,M11.1.0`) to use directly to configure ESP32/ESP8266 timezone. Check [How to retrieve timezone? #51](khoih-prog/ESPAsync_WiFiManager#51) for more info. 2. Store those `_timezoneName` and `TZ` in LittleFS or SPIFFS config file. 3. Using these new timezone feature is optional. 4. Add checksum in config file to validate data read from LittleFS or SPIFFS config file. 5. Update examples to show how to use the new TZ feature.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have seen in the config web page that the time zone is detected and shown but I can't figure out how to retrieve that in my program so that I can use it to initialize a NTP SyncProvider for the time library I'm currently using (https://github.com/PaulStoffregen/Time).
The text was updated successfully, but these errors were encountered: