instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.42k stars 2.42k forks source link

Modification date and time not preserved in data exports/grouped file download zip files #2219

Open Yetoo1 opened 1 year ago

Yetoo1 commented 1 year ago

Summary:

Exporting course data or downloading a group of files or directories doesn't preserve the modification date and time fields in the generated zip files.

Steps to reproduce:

  1. Export submitted course data or group select files and download.
  2. Open downloaded zip file.

Expected behavior:

The date and time fields reflect the actual modification date and time and/or the modification date and time in the file listing.

Actual behavior:

The date and time fields reflect the date and time the zip was generated.

Additional notes:

Software relying on PKWARE (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) or ISO/IEC 21320-1:2015 standards may expect the date and time fields to be modification date and time.