I've added the statement to bind the TZ timezone per your suggestion as shown:
WiFiManagerParameter tzParam("tz","Timezone", "UTC0", 50, tz_html);
The Captive Wifi shows 2 TimeZone selection bars
when I press save, the time zone returned is UTC0 (Which I set as the default in the bind) not the US ...
Search found 2 matches
- Mon May 11, 2026 3:16 am
- Forum: General Discussion
- Topic: Captive Portal HTML timeszone dropdown not returning selected parm
- Replies: 2
- Views: 76
- Sun May 10, 2026 3:59 am
- Forum: General Discussion
- Topic: Captive Portal HTML timeszone dropdown not returning selected parm
- Replies: 2
- Views: 76
Captive Portal HTML timeszone dropdown not returning selected parm
I wrote a captive portal script to capture WiFi credentials, a custom NTP server name, and custom Timezone parameter from a dropdown list to be saved to the NVS. Everything works as expected except the selected timezone parameter is returned as a blank and is not being saved. I am using an ESP32 ...