When setting the date format to 'd/m/Y', due dates are incorrectly displayed in red, as if they are past due. However, using the 'd-m-Y' format solves the color issue. I'm not sure if this is just a visual bug, or if other due date calculations are also being affected by the '/' date format.
My guess is that when Blesta finds dates with /, it assumes m/d/Y, at least for this color calculation.
It happens in the admin and client areas:
* /admin/billing/ionvoices
* /admin/clients/view/X
* /client
* /client/invoices/index/open
* maybe other places.
How to reproduce:
1. You need to have many invoices with future due dates.
2. Set your date to d/m/Y
3. The invoices should show as due, even though due dates are in the future.
4. Change it to d-m-Y, those invoices should show the correct color.
Example with d/m/Y (wrong)
Example with d-m-Y (correct)