1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/unittests/tests-rtc: do not use DST info for normalization

`rtc_tm_normalize` does not use it, so `mktime` should not either.
This commit is contained in:
Martine Lenders 2021-04-13 14:26:08 +02:00
parent bd6114ae9d
commit 873b71c3e9
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -42,7 +42,7 @@ static void test_rtc_compat(void)
.tm_year = 84,
.tm_wday = 0,
.tm_yday = 0,
.tm_isdst=1
.tm_isdst = -1,
};
struct tm t2 = t1;
@ -63,7 +63,7 @@ static void test_rtc_sec_wrap(void)
.tm_year = 100,
.tm_wday = 0,
.tm_yday = 0,
.tm_isdst= 1
.tm_isdst= -1,
};
struct tm t2 = t1;