Skip to content

Commit cbc14bc

Browse files
author
Dmitry Kologrivov
committed
MAGNIMEX-151: time without timezon
1 parent 26af5e4 commit cbc14bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ protected function deleteProductTierAndGroupPrices(array $listSku, $tableName)
404404
if (!$this->_cachedSkuToDelete) {
405405
$this->_cachedSkuToDelete = $this->_connection->fetchCol(
406406
$this->_connection->select()
407-
->from($this->_catalogProductEntity, 'entity_id')
408-
->where('sku IN (?)', $listSku)
407+
->from($this->_catalogProductEntity, 'entity_id')
408+
->where('sku IN (?)', $listSku)
409409
);
410410
}
411411
if ($this->_cachedSkuToDelete) {
@@ -435,7 +435,7 @@ protected function deleteProductTierAndGroupPrices(array $listSku, $tableName)
435435
*/
436436
protected function setUpdatedAt(array $listSku)
437437
{
438-
$updatedAt = $this->_localeDate->date()->format('Y-m-d H:i:s');
438+
$updatedAt = $this->_localeDate->date(null, null, false)->format('Y-m-d H:i:s');
439439
$this->_connection->update(
440440
$this->_catalogProductEntity,
441441
[\Magento\Catalog\Model\Category::KEY_UPDATED_AT => $updatedAt],

0 commit comments

Comments
 (0)