Move the default due date time to be configurable in the IDF config file

This commit is contained in:
Simon Holywell
2012-04-10 12:17:22 +01:00
parent 9168a26a72
commit 1690fa8416
4 changed files with 14 additions and 6 deletions

View File

@@ -475,7 +475,8 @@ class IDF_Views_Issue
'page_title' => $title,
'preview' => $preview,
'issue' => new IDF_Issue(),
'date_today' => date('Y-m-d 23:59')
'date_today' => date('Y-m-d'),
'default_time' => Pluf::f('issue_default_due_date_time'),
),
self::autoCompleteArrays($prj)
);
@@ -713,7 +714,8 @@ class IDF_Views_Issue
'previous_issue_id' => $previous_issue_id,
'next_issue_id' => $next_issue_id,
'related_issues' => $related_issues,
'date_today' => date('Y-m-d 23:59'),
'date_today' => date('Y-m-d'),
'default_time' => Pluf::f('issue_default_due_date_time'),
),
$arrays),
$request);