summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-11-29 15:51:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-11-29 15:51:16 +0000
commitc30a8a44aab51f94358cfe893055221a35c817b8 (patch)
treea965fd2d7efecde87eed1f22053de62e1f5a47e4 /app/helpers
parent05e701b877c4033936ebb2f6db1a2e93fb8408fb (diff)
downloadredmine-c30a8a44aab51f94358cfe893055221a35c817b8.tar.gz
redmine-c30a8a44aab51f94358cfe893055221a35c817b8.zip
Related issues section ignores the date format setting (#29918).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17656 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/issues_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 654f18e01..aee8444f5 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -129,8 +129,8 @@ module IssuesHelper
content_tag('td', check_box_tag("ids[]", other_issue.id, false, :id => nil), :class => 'checkbox') +
content_tag('td', relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe, :class => 'subject', :style => 'width: 50%') +
content_tag('td', other_issue.status, :class => 'status') +
- content_tag('td', other_issue.start_date, :class => 'start_date') +
- content_tag('td', other_issue.due_date, :class => 'due_date') +
+ content_tag('td', format_date(other_issue.start_date), :class => 'start_date') +
+ content_tag('td', format_date(other_issue.due_date), :class => 'due_date') +
content_tag('td', other_issue.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(other_issue.done_ratio), :class=> 'done_ratio') +
content_tag('td', buttons, :class => 'buttons'),
:id => "relation-#{relation.id}",