Reports > Sales Summary order of rows in report incorrect (and date formatting not system format)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
1. NOP Commerce version: 4.50.2

2. Expected behaviour: The report should list dates in descending date order (and ideally the date format respect default system format)

3. Actual behaviour: The sales summary report rows are in the following incorrect date order (and the date formatting is as seen below which is not the system date format, which in our case is dd/mm/yyyy):

...
Jul 04, 2022 ......
Jul 03, 2022 ......
Jul 02, 2022 ......
Jul 14, 2022 ......
Jul 13, 2022 ......
Jul 12, 2022 ......
Jul 11, 2022 ......
Jul 10, 2022 ......
Jul 01, 2022 ......
Jun 30, 2022 ......
...

It seems to be sorting the dates literally, without a leading 0, eg:

...
Jul 4, 2022 ......
Jul 3, 2022 ......
Jul 2, 2022 ......
Jul 14, 2022 ......
Jul 13, 2022 ......
Jul 12, 2022 ......
Jul 11, 2022 ......
Jul 10, 2022 ......
Jul 1, 2022 ......
Jun 30, 2022 ......
...

It treats dates differently to the Sales > Orders facility where the dates or orders are shown in the correct system format, eg: "14/07/2022 16:03:10" (and lists orders on the correct order).

This is possibly related to work item #6296
1 year ago
Thanks. We'll check it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.