I have a view with an exposed filter for a date range. I use jquery ui datepicker to select dates. It works good and I can select dates in spanish format (dd/mm/yyyy). But when I apply the filter, It understands that the format is mm/dd/yyyy and It doesn't work good. In the worst case, if the day is greater than 12, It throws an error due to invalid date because It understands that the first number is the month.
How could I fix this issue?

  • There may be some help here, drupal.stackexchange.com/questions/263311/… – user72672 Aug 20 '19 at 7:03
  • Thanks for your help. I've done it, but I have found another problem with date range. It works only if I put min and max date. – briast Aug 23 '19 at 7:28
  • That makes sense, that's what the module is made for. – user72672 Aug 23 '19 at 7:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.