Skip to content

Commit 58d918e

Browse files
committed
.
1 parent b7b4f99 commit 58d918e

File tree

5 files changed

+2
-1
lines changed

5 files changed

+2
-1
lines changed
-5 Bytes
Binary file not shown.
-5 Bytes
Binary file not shown.
-5 Bytes
Binary file not shown.
-5 Bytes
Binary file not shown.

src/Verify.ClosedXml/VerifyClosedXml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static ConversionResult Convert(XLWorkbook book, IReadOnlyDictionary<string, obj
6363
};
6464

6565
// force Created to a stable date so the binary will be consistent
66-
book.Properties.Created = new(2020, 1, 1);
66+
book.Properties.Created = new(2020, 1, 1, 0, 0, 0, DateTimeKind.Utc);
6767

6868
var memoryStream = new MemoryStream();
6969
book.SaveAs(memoryStream);
@@ -136,6 +136,7 @@ static string GetCellValue(IXLCell cell)
136136
// Percentage
137137
return cell.GetDouble().ToString("P", CultureInfo.InvariantCulture);
138138
}
139+
139140
return cell.GetDouble().ToString(CultureInfo.InvariantCulture);
140141

141142
case XLDataType.Boolean:

0 commit comments

Comments
 (0)