Skip to content

Commit

Permalink
Time planning: removed forgotten test
Browse files Browse the repository at this point in the history
  • Loading branch information
boryashkin committed Feb 5, 2017
1 parent 2aa8067 commit 445ab65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions modules/time/views/plans/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
</p>
<h4>Daily</h4>
<h5>Today</h5>
<?php
$s = '2017-02-05 20:30:47';
$d = new \DateTime($s);
echo($d->format('H:i'));

?>
<?= GridView::widget([
'dataProvider' => $todayTaskProvider,
'layout' => "{items}\n{pager}",
Expand Down
1 change: 1 addition & 0 deletions modules/time/views/plans/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/* @var $model app\modules\time\models\Plan */
/* @var $taskProvider \yii\data\ActiveDataProvider */
/* @var $readingsProvider \yii\data\ActiveDataProvider */
/* @var $timeProvider \yii\data\ActiveDataProvider */

$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Plans', 'url' => ['index']];
Expand Down

0 comments on commit 445ab65

Please sign in to comment.