matomo-org/matomo

Email Report files alphabetical order should work in all languages, by eg "Report for URL Website - YYYY-MM-DD to YYYY-MM-D2 - $Translated_Date_string"

Aperta

#19.122 aperta il 19 apr 2022

 (2 commenti) (1 reazione) (0 assegnatari)PHP (2890 fork)batch import
EnhancementHelp wantedc: Consistent Reports & Analytics UXc: Email Reportsc: i18n

Metriche repository

Star
 (21.793 stelle)
Metriche merge PR
 (Merge medio 8g 11h) (106 PR mergiate in 30 g)

Descrizione

A user suggests the following:

Is there a way to fix the filenames for emailed PDF reports? Matomo defaults to the file name of (for example) "Report abc Website - March 18 - April 16, 2022.pdf" but this makes it impossible to list reports chronologically when they are in alphabetical order.

If archiving PDF reports from Matomo, the problem is severe enough that I would classify it as a bug.

Matomo should be using international ISO 8601 dates by default, i.e. "Report for abc Website - 2022-03-18 to 2022-04-16.pdf". Using "Year-Month-Day" allows sorting the archived PDF files chronologically in alphabetical order. The ability to generate custom report titles (such as "Report for abc Website" instead of "Report abc Website") is a much-needed feature for Matomo.

EDIT from matt: proposed to use Report for URL Website - YYYY-MM-DD to YYYY-MM-D2 - $Translated_Date_string so we still have the nice date, but first have the ISO date.

Guida contributor