aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-26 04:32:49 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-26 04:32:49 -0500
commitc5f84c999d5c04a32c3d526d16b4d58f456c2a99 (patch)
tree51e9f44fbd75b7faeb80710b26cfccac78e026fc /src/alf.c
parent080e54f17ecb4a255332466725c1ce944f39f5c1 (diff)
downloadalftools-c5f84c999d5c04a32c3d526d16b4d58f456c2a99.tar.gz
Use local timezone (less confusing I hope).
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alf.c b/src/alf.c
index 63b1d05..12aafad 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -132,7 +132,7 @@ unsigned long get_msdos_date_time(void) {
int msdos_year;
u16 ms_date, ms_time;
- tm = gmtime(&t);
+ tm = localtime(&t);
msdos_year = tm->tm_year + 1900 - 1980;