Expected string length 24 but was 22. Strings differ at index 6.
Expected: "Monday, October 16, 2017"
But was: "Monday October 16 2017"
This happens because FormatLiteral() ignores commas in all kinds of formats. Commas are used for thousand division in numeric number formats, but apparently not in date formats.
Reported in https://github.com/ClosedXML/ClosedXML/issues/1274
This happens because
FormatLiteral()
ignores commas in all kinds of formats. Commas are used for thousand division in numeric number formats, but apparently not in date formats.