Skip to content

Commit

Permalink
SVYX-744 Fix date not correct pushed to client
Browse files Browse the repository at this point in the history
  • Loading branch information
RvVeen committed Nov 14, 2023
1 parent f04cacf commit 4b46e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion customrenderedcomponents/foundsetlist/foundsetlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ angular.module('customrenderedcomponentsFoundsetlist', ['servoy'])
entryValue[i] = $scope.getSanitizedData(entryValue[i]);
}
data[dp] = entryValue;
} else if ((typeof entryValue) === 'object') {
} else if ((typeof entryValue) === 'object' && !(entryValue instanceof Date)) {
// nested object
entryValue = $scope.getSanitizedData(entryValue);
data[dp] = entryValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class BaseList extends ServoyBaseComponent<HTMLDivElement> {
entryValue[i] = this.getSanitizedData(entryValue[i]);
}
data[dp] = entryValue;
} else if ((typeof entryValue) === 'object') {
} else if ((typeof entryValue) === 'object' && !(entryValue instanceof Date)) {
// nested object
entryValue = this.getSanitizedData(entryValue);
data[dp] = entryValue;
Expand Down

0 comments on commit 4b46e6d

Please sign in to comment.