diff --git a/src/App.tsx b/src/App.tsx index 65e6990..2891f9e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,3 +1,4 @@ +import moment from 'moment'; import { Component, createResource, createSignal, For, lazy, Show } from 'solid-js'; const host = "https://daisy-ddns.hydev.org/data/api/OS" @@ -19,7 +20,7 @@ export default function App() { {f.size} - {f.mtime} + {moment(f.mtime).fromNow()} }