-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_403_STABLE
-
MDL-45452-course_completion_excel_dates -
At the bottom of the "Course completion" report are the following two links:
Download in spreadsheet format (UTF-8 .csv)
Download in Excel-compatible format (.csv)
Both currently output dates in whatever human-readable format is set as the user's locale preference for the site in general. These are (generally) not Excel-compatible, so Excel sees them as arbitrary strings rather than as dates, which can be sorted, reformatted, etc.
Specifically choosing "Excel-compatible" should instead output dates that Excel can recognize as such. ISO 8601 format, userdate('%Y-%m-%d %H:%M:%S'), fits the bill. The referenced commit does so.
- Discovered while testing
-
MDL-45832 The activity completion report should be using the csv class.
- Closed
-
MDL-46234 Switch course completion, activity completion reports to use the DataFormat api (eg Microsoft Excel format)
- Reopened
- has been marked as being related by
-
MDL-39156 Microsoft Excel refuses to open CSV files
- Closed