Skip to content

Commit

Permalink
Correcting the date format.
Browse files Browse the repository at this point in the history
  • Loading branch information
masood09 committed Jan 7, 2013
1 parent 8074cfa commit 5b02a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/FilesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function postAction($projectId=null, $taskId = null)
}

$temp['uploaded_by'] = $upload->getUser()->full_name;
$temp['uploaded_at'] = date('Y-m-d H:m:i');
$temp['uploaded_at'] = date('Y-m-d H:i:s');

$temp['delete_url'] = $this->url->get('files/delete/' . $upload->id . '/');
$temp['delete_type'] = 'POST';
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/TaskController.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function viewAction($id=null)
$this->view->setVar('task_user_time', $task_user_time);
$this->view->setVar('task_total_time', $task_total_time);
$this->view->setVar('extra_params', '/' . $id . '/');
$this->view->setVar('uuid', hash("sha256", date('Y-m-d H:m:i') . $id . $this->currentUser->id));
$this->view->setVar('uuid', hash("sha256", date('Y-m-d H:i:s') . $id . $this->currentUser->id));
Phalcon\Tag::setTitle(($task->job_id) ? $task->job_id . ' - ' . $task->title : $task->title);
}

Expand Down

0 comments on commit 5b02a13

Please sign in to comment.