We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845241b commit afb9921Copy full SHA for afb9921
libraries/esp8266/examples/NTP-TZ-DST/NTP-TZ-DST.ino
@@ -134,7 +134,7 @@ void showTime() {
134
Serial.println((uint32_t)now);
135
136
// timezone and demo in the future
137
- Serial.printf("timezone: %s\n", getenv("TZ"));
+ Serial.printf("timezone: %s\n", getenv("TZ") ? : "(none)");
138
139
// human readable
140
Serial.print("ctime: ");
0 commit comments