Issue #16 Make the date format uniform with the rest of Indefero
This commit is contained in:
parent
60cdd2224f
commit
b9c3ee1a09
@ -395,7 +395,7 @@ class IDF_Form_IssueUpdate extends IDF_Form_IssueCreate
|
|||||||
$changes['ow'] = (is_null($owner)) ? '---' : $owner->login;
|
$changes['ow'] = (is_null($owner)) ? '---' : $owner->login;
|
||||||
}
|
}
|
||||||
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {
|
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {
|
||||||
$changes['du'] = trim($this->cleaned_data['due_dtime']);
|
$changes['du'] = Pluf_Template_dateFormat($this->cleaned_data['due_dtime']);
|
||||||
}
|
}
|
||||||
// Issue relations - additions
|
// Issue relations - additions
|
||||||
foreach ($this->cleaned_data['_added_issue_relations'] as $verb => $ids) {
|
foreach ($this->cleaned_data['_added_issue_relations'] as $verb => $ids) {
|
||||||
|
@ -1156,7 +1156,9 @@ function IDF_Views_Issue_SummaryAndLabelsUnknownProject($field, $issue, $extra='
|
|||||||
*/
|
*/
|
||||||
function IDF_Views_Issue_DueDate($field, $issue, $extra='')
|
function IDF_Views_Issue_DueDate($field, $issue, $extra='')
|
||||||
{
|
{
|
||||||
return $issue->$field;
|
if($issue->$field) {
|
||||||
|
return Pluf_Template_dateFormat($issue->$field);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user