Feat: Add ChatCard #3221 (#4852)

### What problem does this PR solve?
Feat: Add  ChatCard #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-02-10 17:38:10 +08:00
committed by GitHub
parent 6e42687e65
commit bc68f18c48
3 changed files with 78 additions and 2 deletions

View File

@ -25,3 +25,10 @@ export function lastDay() {
export function lastWeek() {
return formatDate(dayjs().subtract(1, 'weeks'));
}
export function formatPureDate(date: any) {
if (!date) {
return '';
}
return dayjs(date).format('DD/MM/YYYY');
}