From 007059ed2483009043b5569e4d95049139878798 Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Fri, 21 Jul 2017 05:31:27 +0200
Subject: html..

---
 client/components/Browser/Files/FileListView.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'client/components/Browser/Files/FileListView.jsx')

diff --git a/client/components/Browser/Files/FileListView.jsx b/client/components/Browser/Files/FileListView.jsx
index df59a1d..312cc5f 100644
--- a/client/components/Browser/Files/FileListView.jsx
+++ b/client/components/Browser/Files/FileListView.jsx
@@ -1,5 +1,6 @@
 import { h, Component } from 'preact'
 
+import format from '../../../vendor/format.js'
 import FileUploadButton from './FileUploadButton.jsx'
 import FileLink from '../../../containers/fileLink.js'
 import TaskContentLink from '../../../containers/taskContentLink.js'
@@ -21,7 +22,7 @@ export default function FileListView (props) {
     return (
       <div key={i} class={props.selected === file ? 'selected' : ''}>
         <span class='name'><FileLink file={file}>{file.name}</FileLink></span>
-        <span class='mime'>{file.processed ? file.mime : '(waiting)'}</span>
+        <span class='mime'>{file.processed ? format.getAge(file.created_at) : '(waiting)'}</span>
         <span class='duration'>{file.duration ? (file.duration.toFixed(1) + 's') : ''}</span>
         <span class='actions'>
           <TaskContentLink file={file}>content</TaskContentLink>
-- 
cgit v1.2.3-70-g09d2

