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:
parent
bd6114ae9d
commit
873b71c3e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user