diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-02 17:06:20 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-02 17:06:20 -0500 |
| commit | 65145d492797a8c5f5e95098b49ea4b00f49be4c (patch) | |
| tree | c853bc5f3d8971107d6bea991f94f7ff089f94d4 /src/extract.c | |
| parent | 08a74ca787bd4b528d61953f18b7ea72dead384a (diff) | |
| download | alftools-65145d492797a8c5f5e95098b49ea4b00f49be4c.tar.gz | |
unalf: Really fix off-by-one-hour bug. I hope.
Diffstat (limited to 'src/extract.c')
| -rw-r--r-- | src/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
