Timestamp in UTC, abstract storage
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<% @runs.each do |run| %>
|
||||
<tr>
|
||||
<td><span class="<%= task_label(run) %> radius label"><%= run.name %></span></td>
|
||||
<td><%= l run.created_at, format: :short %> (<%= time_ago_in_words(run.created_at) %> ago)</td>
|
||||
<td><%= l run.timestamp, format: :short %> (<%= time_ago_in_words(run.timestamp) %> ago)</td>
|
||||
<td><%= run.execution_time.round(6) %>s</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<% @tasks.each do |run| %>
|
||||
<tr>
|
||||
<td><span class="<%= task_label(run) %> radius label"><%= run.name %></span></td>
|
||||
<% if run.created_at %>
|
||||
<td><%= time_ago_in_words(run.created_at) %> ago</td>
|
||||
<% if run.timestamp %>
|
||||
<td><%= time_ago_in_words(run.timestamp) %> ago</td>
|
||||
<td><%= run.execution_time.round(6) %>s</td>
|
||||
<td><%= link_to 'Run', run_task_path(run.name, back: tasks_path), class: 'small radius button' %></td>
|
||||
<td><%= link_to 'History', task_runs_path(run.name), class: 'secondary small radius button' %></td>
|
||||
|
||||
Reference in New Issue
Block a user