summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorceastwood2018-07-03 10:53:39 (GMT)
committerLuca Lusso2018-07-03 10:53:39 (GMT)
commite570f6484a78657a201e2238ee36b08f141e263e (patch)
treec148b5ea47d693a214ad666017fd9497f1687f39
parent1daa125ac41da037e50a2ec838c74dc6842dd879 (diff)
Issue #2957193 by drclaw: Webprofiler reports views profiling times as milliseconds, but they are seconds
-rw-r--r--webprofiler/templates/Collector/views.html.twig6
1 files changed, 3 insertions, 3 deletions
diff --git a/webprofiler/templates/Collector/views.html.twig b/webprofiler/templates/Collector/views.html.twig
index d4a2e2f..5409cc9 100644
--- a/webprofiler/templates/Collector/views.html.twig
+++ b/webprofiler/templates/Collector/views.html.twig
@@ -41,9 +41,9 @@
<tr>
<td><%- item.id %></td>
<td><%- item.current_display %></td>
- <td><%- Drupal.webprofiler.helpers.printTime(item.build_time) %></td>
- <td><%- Drupal.webprofiler.helpers.printTime(item.execute_time) %></td>
- <td><%- Drupal.webprofiler.helpers.printTime(item.render_time) %></td>
+ <td><%- Drupal.webprofiler.helpers.printTime(item.build_time, 's') %></td>
+ <td><%- Drupal.webprofiler.helpers.printTime(item.execute_time, 's') %></td>
+ <td><%- Drupal.webprofiler.helpers.printTime(item.render_time, 's') %></td>
<td><a href="<%- item.route %>">{{ 'Edit'|t }}</a></td>
</tr>
<% }); %>