Skip to content

Commit 003b3c6

Browse files
committed
ACP2E-4239: Date Filter not working according to store timezone on Credit Memos grid
1 parent c3efd74 commit 003b3c6

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

app/code/Magento/Sales/Model/ResourceModel/Order/Grid/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class Collection extends SearchResult
2828
* @param string $mainTable
2929
* @param string $resourceModel
3030
* @throws LocalizedException
31+
* phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod.Found
3132
*/
3233
public function __construct(
3334
EntityFactory $entityFactory,

app/code/Magento/Ui/Component/Filters/Type/Date.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,11 @@ class Date extends AbstractFilter
2121
public const COMPONENT = 'date';
2222

2323
/**
24-
* Wrapped component
25-
*
2624
* @var DataTypeDate
2725
*/
2826
protected $wrappedComponent;
2927

3028
/**
31-
* Date format
32-
*
3329
* @var string
3430
* @since 100.1.2
3531
*/

app/code/Magento/Ui/Test/Unit/Component/Filters/Type/DateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

dev/tests/integration/testsuite/Magento/Cms/Model/ResourceModel/Block/Grid/CollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2021 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

dev/tests/integration/testsuite/Magento/Sales/Model/ResourceModel/Order/Grid/CollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2018 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

0 commit comments

Comments
 (0)