Skip to content

Commit

Permalink
Fixing timezone gap when selecting scheduled jobs to run
Browse files Browse the repository at this point in the history
  • Loading branch information
vub-schumachera committed May 13, 2015
1 parent 712338c commit f5d8c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Jowens/JobQueue/Model/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function executeJobs($schedule=null) {
$collection->addFieldToFilter('queue', array('eq' => $this->getQueue()))
->addFieldToFilter('run_at', array(
array('null' => true),
array('lteq'=> date('Y-m-d H:i:s', Mage::app()->getLocale()->storeTimeStamp()))
array('lteq'=> date('Y-m-d H:i:s'))
))
->addFieldToFilter(array('locked_at', 'locked_by'), array(
array('locked_at', 'null' => true),
Expand Down

0 comments on commit f5d8c65

Please sign in to comment.