aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb3
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issue/_changelog.html.erb2
2 files changed, 2 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
index c8325772718..e3314ec66de 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
@@ -64,8 +64,7 @@ class Issue
hash_change = {}
hash_change[:user] = user.login() if user
- hash_change[:createdAt] = Api::Utils.format_datetime(change.createdAt()) if change.createdAt()
- hash_change[:updatedAt] = Api::Utils.format_datetime(change.updatedAt()) if change.updatedAt()
+ hash_change[:creationDate] = Api::Utils.format_datetime(change.creationDate()) if change.creationDate()
hash_change[:diffs] = []
change.diffs.entrySet().each do |entry|
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_changelog.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_changelog.html.erb
index 4b95f4b330b..15827f5df3f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_changelog.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_changelog.html.erb
@@ -9,7 +9,7 @@
user = @changelog.user(change)
%>
<tr>
- <td class="thin left top" nowrap><%= format_datetime(change.createdAt()) -%></td>
+ <td class="thin left top" nowrap><%= format_datetime(change.creationDate()) -%></td>
<td class="thin left top" nowrap><%= h(user.name()) if user -%></td>
<td class="left top">
<%