Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 1b03c19

Browse files
committed
Revert back change
1 parent fd0ab03 commit 1b03c19

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/code/Magento/Newsletter/Model/Queue.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ public function setQueueStartAtByString($startAt)
196196
if ($startAt === null || $startAt == '') {
197197
$this->setQueueStartAt(null);
198198
} else {
199-
$startAt = $this->timezone->convertConfigTimeToUtcWithPattern($startAt, 'Y-m-d H:i:s', null);
200-
$this->setQueueStartAt($startAt);
199+
$this->setQueueStartAt($this->timezone->convertConfigTimeToUtc($startAt));
201200
}
202201
return $this;
203202
}

0 commit comments

Comments
 (0)