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/alf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/alf.c') diff --git a/src/alf.c b/src/alf.c index 9f9ae9d..702837e 100644 --- a/src/alf.c +++ b/src/alf.c @@ -108,6 +108,8 @@ unsigned long get_msdos_date_time(void) { else tm = localtime(&t); + tm->tm_isdst = 0; + /* use a 0 timestamp if the year's out of range, unalf will display it as . */ if(tm->tm_year < 80 || tm->tm_year > 207) -- cgit v1.2.3