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 b6fe663 commit 84e65c7Copy full SHA for 84e65c7
hal/targets/hal/TARGET_STM/TARGET_STM32L1/rtc_api.c
@@ -193,6 +193,8 @@ time_t rtc_read(void)
193
timeinfo.tm_hour = timeStruct.Hours;
194
timeinfo.tm_min = timeStruct.Minutes;
195
timeinfo.tm_sec = timeStruct.Seconds;
196
+ // Daylight Saving Time information is not available
197
+ timeinfo.tm_isdst = -1;
198
199
// Convert to timestamp
200
time_t t = mktime(&timeinfo);
0 commit comments