Body: <p>I have a problem in civicrm/contact/view/case&amp;reset=1 when I use the date filter.</p>
  
  <p>I have an Italian localization with date format set to dd/mm/yyyy.</p>
  
  <p>I choose a date in the calendar and then I get the folowing error on screen:</p>
  
  <blockquote>
    <p>DataTables warning: table id=case_id_2566 - Invalid JSON response. For
    more information about this error, please see
    <a href="http://datatables.net/tn/1" rel="nofollow noreferrer">http://datatables.net/tn/1</a></p>
  </blockquote>
  
  <p>And if I look into DevTools I have this return from the site:</p>
  
  <blockquote>
    <p>Sorry, due to an error, we are unable to fulfill your request at the
    moment. You may want to contact your administrator or service provider
    with more details about what action you were performing when this
    occurred. One of parameters (value: 09/04/2018) is not of the type
    Date</p>
  </blockquote>
  
  <p>Which is not the dateformat set in localization (dd/mm/yyyy) but probably the default (mm/dd/yyyy)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-25T11:15:45.583Z
Comments.Text: I get the same error if I do it on https://dmaster.demo.civicrm.org even if I do not change the dateformat to dd/mm/yyyy and leave it to the US default.
Comments.UserDisplayName: Johan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-26T02:39:45.343Z
Comments.Text: yep, might be bug as `09/04/2018` is a correct value for both format mentioned above ;-)
Comments.UserDisplayName: jitendra - fuzion
Tags: <civicase><ajax><date-preferences>
Title: When filtering with data in civicrm/contact/view/case&reset=1 I get an error and no filtering
ThreadText: # When filtering with data in civicrm/contact/view/case&reset=1 I get an error and no filtering
  
  (Asked by: username_0 on 2018-09-25)
  
  I have a problem in civicrm/contact/view/case&reset=1 when I use the date filter.
  
  I have an Italian localization with date format set to dd/mm/yyyy.
  
  I choose a date in the calendar and then I get the folowing error on screen:
  
  > DataTables warning: table id=case\_id\_2566 - Invalid JSON response. For
  > more information about this error, please see
  > <http://datatables.net/tn/1>
  
  And if I look into DevTools I have this return from the site:
  
  > Sorry, due to an error, we are unable to fulfill your request at the
  > moment. You may want to contact your administrator or service provider
  > with more details about what action you were performing when this
  > occurred. One of parameters (value: 09/04/2018) is not of the type
  > Date
  
  Which is not the dateformat set in localization (dd/mm/yyyy) but probably the default (mm/dd/yyyy)
  
  **Tags:** civicase, ajax, date-preferences
  
  > **Comments:**
  > **username_0**: I get the same error if I do it on https://dmaster.demo.civicrm.org even if I do not change the dateformat to dd/mm/yyyy and leave it to the US default.  
  > **username_1**: yep, might be bug as `09/04/2018` is a correct value for both format mentioned above ;-)  
  
  ---
  
  ## 0 answers
  
  