TD-599: Fix date filter (#230)

This commit is contained in:
Rinat Arsaev 2023-06-09 14:53:53 +04:00 committed by GitHub
parent 8d780bdb9b
commit 99a65e917b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

14
package-lock.json generated
View File

@ -30,7 +30,7 @@
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
"@vality/fistful-proto": "2.0.1-4ff4ea3.0",
"@vality/magista-proto": "2.0.1-cf0eff8.0",
"@vality/ng-core": "0.7.1-pr-26-d72b731.0",
"@vality/ng-core": "0.7.1-pr-26-5b97f36.0",
"@vality/payout-manager-proto": "2.0.1-b079679.0",
"@vality/repairer-proto": "2.0.1-8f7973d.0",
"@vality/thrift-ts": "2.4.1-8ad5123.0",
@ -6602,9 +6602,9 @@
"integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ=="
},
"node_modules/@vality/ng-core": {
"version": "0.7.1-pr-26-d72b731.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-26-d72b731.0.tgz",
"integrity": "sha512-vpCQvXC6OH6k5boefH5gRNGQo3d0Zb+r7v+9WSBYqxXiDA4HAija8WKuI6oXQYCLv0QCXDGEqlV1jqRNA2txqA==",
"version": "0.7.1-pr-26-5b97f36.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-26-5b97f36.0.tgz",
"integrity": "sha512-d95e80Y6yrPSGmfqVQWmREPEH8TVEDqaobphcroa9a+FHzjexh14+mDh3jxcgYlsuLMI4j1+yBXMDwTqCWXMcw==",
"dependencies": {
"@ng-matero/extensions": "^15.0.0",
"@s-libs/js-core": "^15.2.0",
@ -27589,9 +27589,9 @@
"integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ=="
},
"@vality/ng-core": {
"version": "0.7.1-pr-26-d72b731.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-26-d72b731.0.tgz",
"integrity": "sha512-vpCQvXC6OH6k5boefH5gRNGQo3d0Zb+r7v+9WSBYqxXiDA4HAija8WKuI6oXQYCLv0QCXDGEqlV1jqRNA2txqA==",
"version": "0.7.1-pr-26-5b97f36.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-26-5b97f36.0.tgz",
"integrity": "sha512-d95e80Y6yrPSGmfqVQWmREPEH8TVEDqaobphcroa9a+FHzjexh14+mDh3jxcgYlsuLMI4j1+yBXMDwTqCWXMcw==",
"requires": {
"@ng-matero/extensions": "^15.0.0",
"@s-libs/js-core": "^15.2.0",

View File

@ -39,7 +39,7 @@
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
"@vality/fistful-proto": "2.0.1-4ff4ea3.0",
"@vality/magista-proto": "2.0.1-cf0eff8.0",
"@vality/ng-core": "0.7.1-pr-26-d72b731.0",
"@vality/ng-core": "0.7.1-pr-26-5b97f36.0",
"@vality/payout-manager-proto": "2.0.1-b079679.0",
"@vality/repairer-proto": "2.0.1-8f7973d.0",
"@vality/thrift-ts": "2.4.1-8ad5123.0",

View File

@ -111,7 +111,7 @@ export class PaymentsComponent implements OnInit {
party_id: filters.party_id,
shop_ids: filters.shop_ids,
from_time: getNoTimeZoneIsoString(dateRange.start),
to_time: getNoTimeZoneIsoString(dateRange.end),
to_time: getNoTimeZoneIsoString(endOfDay(dateRange.end)),
},
payment_params: {
...(otherFilters.payment_params || {}),