Improved datatime format.

This commit is contained in:
Martin Edenhofer 2016-04-26 07:45:15 +02:00
parent 2cb31d20a7
commit 54a41212df

View file

@ -7,14 +7,14 @@
<tr> <tr>
<th width="10%"><%- @T('Direction') %> <th width="10%"><%- @T('Direction') %>
<th><%- @T('Request') %> <th><%- @T('Request') %>
<th width="15%"><%- @T('Created at') %> <th width="20%"><%- @T('Created at') %>
</thead> </thead>
<tbody> <tbody>
<% for record in @records: %> <% for record in @records: %>
<tr data-id="<%= record.id %>" class="js-record"> <tr data-id="<%= record.id %>" class="js-record">
<td><%- @T(record.direction) %> <td><%- @T(record.direction) %>
<td><a href="#"><%= record.status %> <%= record.method %> <%= record.url %></a> <td><a href="#"><%= record.status %> <%= record.method %> <%= record.url %></a>
<td><%- @datetime(record.created_at) %> <td><%- @humanTime(record.created_at) %>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>