Skip to content

Commit b7b4f99

Browse files
committed
.
1 parent 87615b1 commit b7b4f99

File tree

5 files changed

+4
-1
lines changed

5 files changed

+4
-1
lines changed
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
11 KB
Binary file not shown.

src/Verify.ClosedXml/VerifyClosedXml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ static ConversionResult Convert(XLWorkbook book, IReadOnlyDictionary<string, obj
6262
ShowWhiteSpace = book.ShowWhiteSpace,
6363
};
6464

65+
// force Created to a stable date so the binary will be consistent
66+
book.Properties.Created = new(2020, 1, 1);
67+
6568
var memoryStream = new MemoryStream();
6669
book.SaveAs(memoryStream);
67-
List<Target> targets = [new("xlsx", memoryStream)];
70+
List<Target> targets = [new("xlsx", memoryStream, performConversion: false)];
6871
if (sheets.Count == 1)
6972
{
7073
var (csv, _) = sheets[0];

0 commit comments

Comments
 (0)