From 203036b5e6b7aa38a9c457432fe0859cc7a8486b Mon Sep 17 00:00:00 2001 From: dubs3c Date: Wed, 5 Jan 2022 11:19:31 +0100 Subject: [PATCH] let's go --- time_linxu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time_linxu.go b/time_linxu.go index 476d98d..1ea4441 100644 --- a/time_linxu.go +++ b/time_linxu.go @@ -9,6 +9,6 @@ import ( ) func GetCreationDate(file fs.FileInfo) time.Time { - ts := file.Sys().(*syscall.Stat_t) + ts := file.Sys().(*syscall.Stat_t).Atim return time.Unix(int64(ts.Sec), int64(ts.Nsec)) }