(date: Date = new Date())
| 8 | * @returns ISO 8601 formatted string |
| 9 | */ |
| 10 | export function formatForDatabase(date: Date = new Date()): string { |
| 11 | return date.toISOString(); |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Formats a timestamp for display to users |
no outgoing calls
no test coverage detected