diff --git a/Sources/7-Zip/7zEntryInfo.swift b/Sources/7-Zip/7zEntryInfo.swift index 36574eb9..b89947f2 100644 --- a/Sources/7-Zip/7zEntryInfo.swift +++ b/Sources/7-Zip/7zEntryInfo.swift @@ -57,9 +57,9 @@ public struct SevenZipEntryInfo: ContainerEntryInfo { self.name = file.name - self.accessTime = Date(file.aTime) - self.creationTime = Date(file.cTime) - self.modificationTime = Date(file.mTime) + self.accessTime = file.aTime + self.creationTime = file.cTime + self.modificationTime = file.mTime self.winAttributes = file.winAttributes diff --git a/Sources/7-Zip/7zFileInfo.swift b/Sources/7-Zip/7zFileInfo.swift index b4f02976..b4c1d375 100644 --- a/Sources/7-Zip/7zFileInfo.swift +++ b/Sources/7-Zip/7zFileInfo.swift @@ -13,9 +13,9 @@ class SevenZipFileInfo { var isEmptyFile = false var isAntiFile = false var name: String = "" - var cTime: UInt64? - var mTime: UInt64? - var aTime: UInt64? + var cTime: Date? + var mTime: Date? + var aTime: Date? var winAttributes: UInt32? } @@ -78,7 +78,7 @@ class SevenZipFileInfo { else { throw SevenZipError.externalNotSupported } for i in 0..