mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
fix: cloudcmd: no time available: --.--.---- -> --:--:-- (#461)
This commit is contained in:
parent
4fa92f9394
commit
b052cf220d
2 changed files with 5 additions and 5 deletions
|
|
@ -194,7 +194,7 @@ export const buildFromJSON = (params) => {
|
|||
name: linkResult,
|
||||
size: '<dir>',
|
||||
date: '--.--.----',
|
||||
time: '--.--.----',
|
||||
time: '--:--:--',
|
||||
owner: '.',
|
||||
mode: '--- --- ---',
|
||||
});
|
||||
|
|
@ -251,7 +251,7 @@ export const buildFromJSON = (params) => {
|
|||
const updateField = (file) => ({
|
||||
...file,
|
||||
date: file.date || '--.--.----',
|
||||
time: file.time || '--.--.----',
|
||||
time: file.time || '--:--:--',
|
||||
owner: file.owner || 'root',
|
||||
size: getSize(file),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue