PHPOffice / PHPExcel

ARCHIVED
Other
11.46k stars 4.19k forks source link

Use modification time from properties when saving Excel5 #1285

Open apeschar opened 7 years ago

apeschar commented 7 years ago

The hardcoded time() in the Excel5 writer causes the file to change every time it is saved, even if the creation and modification dates change. This messes with change tracking.

This change makes replaces the calls to time() with usage of getModified().