* perfect task#749

This commit is contained in:
areyou123456
2012-04-28 01:10:35 +00:00
parent 9f72c13dd2
commit 16f05d981c
2 changed files with 2 additions and 3 deletions

View File

@@ -50,8 +50,7 @@ class todo extends control
$this->view->header = $header;
$this->view->position = $position;
$this->view->dates = $this->todo->buildDateList(0, $this->config->todo->dates->end);
$this->view->date = $date;
$this->view->date = strftime("%Y-%m-%d", strtotime($date));
$this->view->times = $this->todo->buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta);
$this->view->time = $this->todo->now();
$this->display();

View File

@@ -18,7 +18,7 @@
<caption><?php echo $lang->todo->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php echo html::input('date',' ',"class='select-3 date'");?></td>
<td><?php echo html::input('date', $date, "class='select-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>