(date: Date)
| 329 | } |
| 330 | |
| 331 | function toDateString(date: Date): string { |
| 332 | return `${date |
| 333 | .toTimeString() |
| 334 | .split(":") |
| 335 | .slice(0, 2) |
| 336 | .join(":")}, ${date.toLocaleString( |
| 337 | // Below if-else hacks around the fact that this is called server-side, somehow |
| 338 | // !process.env.NODE_ENV ? navigator?.language : "es-CL", |
| 339 | navigator.language, |
| 340 | { |
| 341 | day: "numeric", |
| 342 | month: "short", |
| 343 | // TODO: Uncomment when 2025 |
| 344 | // year: "2-digit", |
| 345 | }, |
| 346 | )}`; |
| 347 | } |
| 348 | |
| 349 | function FeedbackTags(props: { |
| 350 | feedback: ConversationSidebarItem["feedback"]; |
no outgoing calls
no test coverage detected