aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
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;