fix: cloudcmd: no time available: --.--.---- -> --:--:-- (#461)

This commit is contained in:
coderiaser 2026-03-23 15:46:00 +02:00
parent 4fa92f9394
commit b052cf220d
2 changed files with 5 additions and 5 deletions

View file

@ -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),
});