Skip to content

Commit

Permalink
Fix Issue #232 Corrupted xlsx when CurrentCulture time separator is n…
Browse files Browse the repository at this point in the history
…ot :
  • Loading branch information
workgroupengineering committed Jan 8, 2020
1 parent 656e667 commit c89533b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openxml4Net/OPC/Internal/PackagePropertiesPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ private String GetDateValue(DateTime? d) {
return "";
else {
SimpleDateFormat df = new SimpleDateFormat(DEFAULT_DATEFORMAT);
return df.Format(d.Value, CultureInfo.CurrentCulture);
return df.Format(d.Value, CultureInfo.InvariantCulture);
}
}

Expand Down

0 comments on commit c89533b

Please # to comment.