Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Invalid Date Range filter error in IE

SA-27098

Summary



The user made a repeat grid for which the source is data page/RD which has a field of type DateTime.
In IE, when he is trying to apply filter on DateTime field, he is getting error "This results in an invalid Date range"

In Chrome, it is working as expected.

Error Messages



"01/11/2016. This results in an invalid Date range"


Steps to Reproduce

  1. Create a new column in the grid and associate it with this DateTime property and setthe control type to DateTime.
  2. On grid-enable filtering.
  3.  In IE, at runtime, when you try to filter this column using the values FromDate "30/10/2016" and ToDate "01/11/2016", then the issue can be seen

Root Cause



Java Script only supports some specific date formats for creating a new date.
In IE, If we pass the date format as (dd/mm/yyyy)- Wrong date is calculated
In Chrome: It is returning as invalid date, internally, however, it is working.

Resolution



An enhancement request, FDBK-16432, has been created for consideration by Pega Product Management to make the control work uniquely across all browsers.

 Local-change could be to set locale at the browser level.

Published August 24, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us