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/alf.c | |
| parent | 08a74ca787bd4b528d61953f18b7ea72dead384a (diff) | |
| download | alftools-65145d492797a8c5f5e95098b49ea4b00f49be4c.tar.gz | |
unalf: Really fix off-by-one-hour bug. I hope.
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 <none>. */ if(tm->tm_year < 80 || tm->tm_year > 207) |
