feat: add P6 frontend console integration

This commit is contained in:
2026-03-22 00:24:22 +08:00
parent ecc15e7546
commit cd716ed2af
70 changed files with 8954 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
export function formatCount(value: number): string {
return new Intl.NumberFormat('en-US').format(value)
}
export function formatDateTime(value: string | number | Date): string {
return new Intl.DateTimeFormat('en-US', {
year: 'numeric',
month: '2-digit',
day: '2-digit',
hour: '2-digit',
minute: '2-digit'
}).format(new Date(value))
}