Skip to content

Commit

Permalink
Merge pull request AOEpeople#186 from jerome-breton/master
Browse files Browse the repository at this point in the history
Use standard datetime column rendering in list view grid
  • Loading branch information
LeeSaferite committed Oct 27, 2015
2 parents dced599 + bc4756a commit 72cb8bd
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,47 +92,47 @@ protected function _prepareColumns()
array(
'header' => $this->__('Created'),
'index' => 'created_at',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
'scheduled_at',
array(
'header' => $this->__('Scheduled'),
'index' => 'scheduled_at',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
'executed_at',
array(
'header' => $this->__('Executed'),
'index' => 'executed_at',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
'last_seen',
array(
'header' => $this->__('Last seen'),
'index' => 'last_seen',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
'eta',
array(
'header' => $this->__('ETA'),
'index' => 'eta',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
'finished_at',
array(
'header' => $this->__('Finished'),
'index' => 'finished_at',
'frame_callback' => array($viewHelper, 'decorateTimeFrameCallBack')
'type' => 'datetime'
)
);
$this->addColumn(
Expand Down

0 comments on commit 72cb8bd

Please sign in to comment.