Skip to content

Commit 0da72fc

Browse files
committed
Convert created to milliseconds since epoch for containers and images listing.
1 parent c41eb5d commit 0da72fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/containers/containers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h2>Containers:</h2>
7272
<td><a href="#/containers/{{ container.Id }}/">{{ container|containername}}</a></td>
7373
<td><a href="#/images/{{ container.Image }}/">{{ container.Image }}</a></td>
7474
<td>{{ container.Command|truncate:40 }}</td>
75-
<td>{{ container.Created | date: 'yyyy-MM-dd' }}</td>
75+
<td>{{ container.Created * 1000 | date: 'yyyy-MM-dd' }}</td>
7676
<td><span class="label label-{{ container.Status|statusbadge }}">{{ container.Status }}</span></td>
7777
<td><a href="#/containers/{{ container.Id }}/logs">stdout/stderr</a></td>
7878
</tr>

app/components/images/images.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>Images:</h2>
5858
<td><a href="#/images/{{ image.Id }}/?tag={{ image|repotag }}">{{ image.Id|truncate:20}}</a></td>
5959
<td>{{ image|repotag }}</td>
6060
<td>{{ image.VirtualSize|humansize }}</td>
61-
<td>{{ image.Created | date: 'yyyy-MM-dd' }}</td>
61+
<td>{{ image.Created * 1000 | date: 'yyyy-MM-dd' }}</td>
6262
</tr>
6363
</tbody>
6464
</table>

0 commit comments

Comments
 (0)