summaryrefslogtreecommitdiff
path: root/src/lib/dlt_filetransfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dlt_filetransfer.c')
-rw-r--r--src/lib/dlt_filetransfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dlt_filetransfer.c b/src/lib/dlt_filetransfer.c
index 9592c6e..bd196ea 100644
--- a/src/lib/dlt_filetransfer.c
+++ b/src/lib/dlt_filetransfer.c
@@ -180,6 +180,7 @@ void getFileCreationDate2(const char *file, int *ok, char *date)
}
*ok = 1;
+ tzset();
localtime_r(&st.st_ctime, &ts);
asctime_r(&ts, date);
}