Ensure file date formats are consistent

This commit is contained in:
Matt Nadareski
2024-12-07 23:17:29 -05:00
parent 5886632d62
commit 462ee6d6ab
3 changed files with 4 additions and 4 deletions

View File

@@ -372,7 +372,7 @@ namespace SabreTools.FileTypes.Archives
// Fill in common details and add to the list
zipEntryRom.Filename = localFile.Filename;
zipEntryRom.Parent = gamename;
zipEntryRom.Date = localFile.LastModified.ToString("yyyy/MM/dd hh:mm:ss");
zipEntryRom.Date = localFile.LastModified.ToString("yyyy/MM/dd HH:mm:ss");
found.Add(zipEntryRom);
}
@@ -429,7 +429,7 @@ namespace SabreTools.FileTypes.Archives
// Fill in common details and add to the list
zipEntryRom.Filename = localFile.FullName;
zipEntryRom.Parent = gamename;
zipEntryRom.Date = localFile.LastWriteTime.ToString("yyyy/MM/dd hh:mm:ss");
zipEntryRom.Date = localFile.LastWriteTime.ToString("yyyy/MM/dd HH:mm:ss");
found.Add(zipEntryRom);
}