You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a Comparison widget set up to filter on a non-localized DateTime attribute, let's say StartDate. When a user defines a searchfilter and sets date to 14-07-2019 the list gets filtered. When opening one of the filterresults and navigates 'back' using a 'Close page', the filterdate gets set to 13-07-2019. I've tried to look into the source files and I'm guessing it has something to do with a localized parameterfield versus storeState: function (t) { var currentVal = this.searchWidget.get("value"); if (currentVal && this._attributeType === "date") { currentVal = currentVal.getTime(); } t("searchValue", currentVal);
where the getTime gets the UTC time.
How can I fix this?
The text was updated successfully, but these errors were encountered:
We have a Comparison widget set up to filter on a non-localized DateTime attribute, let's say StartDate. When a user defines a searchfilter and sets date to 14-07-2019 the list gets filtered. When opening one of the filterresults and navigates 'back' using a 'Close page', the filterdate gets set to 13-07-2019. I've tried to look into the source files and I'm guessing it has something to do with a localized parameterfield versus
storeState: function (t) { var currentVal = this.searchWidget.get("value"); if (currentVal && this._attributeType === "date") { currentVal = currentVal.getTime(); } t("searchValue", currentVal);
where the getTime gets the UTC time.
How can I fix this?
The text was updated successfully, but these errors were encountered: