(value: number)
| 21365 | } |
| 21366 | |
| 21367 | function formatCompactInteger(value: number): string { |
| 21368 | return new Intl.NumberFormat('en-US').format(Math.max(0, Math.round(Number(value) || 0))); |
| 21369 | } |
| 21370 | |
| 21371 | function formatCommandTimestamp(value: number, locale: SupportedLocale): string { |
| 21372 | return new Intl.DateTimeFormat(locale === 'zh-CN' ? 'zh-CN' : 'en-US', { |
no outgoing calls
no test coverage detected