mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
Feat: Add agent-log-list page (#9076)
### What problem does this PR solve? Fix: Add agent-log-list page And RAPTOR:Save directly after enabling, incomplete form submission #3221 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -32,3 +32,14 @@ export function formatPureDate(date: any) {
|
||||
}
|
||||
return dayjs(date).format('DD/MM/YYYY');
|
||||
}
|
||||
|
||||
export function formatStandardDate(date: any) {
|
||||
if (!date) {
|
||||
return '';
|
||||
}
|
||||
const parsedDate = dayjs(date);
|
||||
if (!parsedDate.isValid()) {
|
||||
return '';
|
||||
}
|
||||
return parsedDate.format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user