(timestamp:number)
| 50 | }; |
| 51 | } |
| 52 | const formatTimestamp = (timestamp:number) => { |
| 53 | const date = new Date(timestamp); |
| 54 | const options: Intl.DateTimeFormatOptions = { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false,month: 'short', day: 'numeric', year: 'numeric' }; |
| 55 | return new Intl.DateTimeFormat('en-US', options).format(date); |
| 56 | } |
| 57 | const formatTime = (timestamp: number) => { |
| 58 | const date = new Date(timestamp); |
| 59 |
no outgoing calls
no test coverage detected