Fix error not filter order by delivery date when change interface locale

Created by Jane D, Modified on Tue, 27 Oct 2020 at 02:28 PM by Jane D


I use your module v1.3.0 on my site Magento 2.3.4 and found wrong result when filtering in the backend for different interface locale.

For example, I have the two format date in Polish is DD-MM-YY and in English format is MM-DD-YY.

When I try to filter orders from 01 Oct 2020 to 31 Oct 2020 - system shows me orders result on December. Probably dates range as 10/01/2020-10/31/2020 is not correct and 10/01/2020 is not 01 October but 10 Febuarary 2020.

When I set in Magento English everything is fine.

Do you have any fix?


To fix this error of not filtering order by delivery date when change interface locale, please edit the file app/code/Bss/OrderDeliveryDate/Component/Listing/Columns/Date.php as below:

Or download the attached file below and overwrite the current file on your site.

If you have any other question or concern, please feel free to contact us. We'd be happy to support!

Attachments (1)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article