From 65145d492797a8c5f5e95098b49ea4b00f49be4c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 2 Dec 2025 17:06:20 -0500 Subject: unalf: Really fix off-by-one-hour bug. I hope. --- src/extract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extract.c') diff --git a/src/extract.c b/src/extract.c index ebd9a29..b14b321 100644 --- a/src/extract.c +++ b/src/extract.c @@ -55,7 +55,7 @@ void set_datetime() { d = dpeek(alf_hdr_date0); - tm.tm_isdst = 0; + tm.tm_isdst = -1; tm.tm_sec = (t & 0x1f) << 1; tm.tm_hour = t >> 11; if(tm.tm_hour == 24) tm.tm_hour = 0; -- cgit v1.2.3