fix(all): Fix in DATE filter.
This commit is contained in:
parent
661a9c0350
commit
ad47305a02
1 changed files with 16 additions and 16 deletions
|
@ -662,7 +662,7 @@ export class SystemKeywords {
|
|||
`${baseUrl}/drive/items/${document.id}/workbook/worksheets('${sheets.value[0].name}')/range(address='${addressId}')`
|
||||
)
|
||||
.patch(body);
|
||||
body.values[0][0] = undefined ;
|
||||
body.values[0][0] = undefined;
|
||||
|
||||
// FINDs the filtered row to be updated.
|
||||
|
||||
|
@ -1066,10 +1066,10 @@ export class SystemKeywords {
|
|||
result = result.substr(1);
|
||||
}
|
||||
const resultDate = SystemKeywords.getDateFromLocaleString(pid, result, contentLocale);
|
||||
if (resultDate) {
|
||||
if (filter.value['dateOnly']) {
|
||||
resultDate.setHours(0, 0, 0, 0);
|
||||
}
|
||||
if (resultDate) {
|
||||
switch (filter.operator) {
|
||||
case '=':
|
||||
if (resultDate.getTime() == filter.value.getTime()) filterAcceptCount++;
|
||||
|
|
Loading…
Add table
Reference in a new issue