mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
Merge commit 'a8390532f7' as 'ai-context/workbench-ui'
This commit is contained in:
commit
1a72bfdec0
310 changed files with 56430 additions and 0 deletions
4
ai-context/workbench-ui/src/utils/time-string.ts
Normal file
4
ai-context/workbench-ui/src/utils/time-string.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export const timeString = (time) => {
|
||||
const tm = new Date(time * 1000);
|
||||
return tm.toLocaleDateString() + " " + tm.toLocaleTimeString();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue