I build a tool to refresh my excel file, and the excel files is under the version control.
Each time I save the excel file using EPPlus, the file modified without any change(If the meta data of this tool is not change). But it produce a lot of modify for version control system.
I found the modify come from the DateTime.now when the zip file saved. At the ZipOutputStream.cs:
_currentEntry.SetEntryTimes(DateTime.Now, DateTime.Now, DateTime.Now);
Is it could be an option to avoid the date time change.
Each time I save the excel file using EPPlus, the file modified without any change(If the meta data of this tool is not change). But it produce a lot of modify for version control system.
I found the modify come from the DateTime.now when the zip file saved. At the ZipOutputStream.cs:
_currentEntry.SetEntryTimes(DateTime.Now, DateTime.Now, DateTime.Now);
Is it could be an option to avoid the date time change.