Files
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

8 lines
361 B
TypeScript

/**
* Format a date object to a localized time string using the browser's default locale
* @param date - Input date to format
* @param showSeconds - Whether to show seconds in the formatted string
* @param useHour12 - Whether to use 12-hour time
*/
export declare const formatTimeString: (date: Date, showSeconds?: boolean, useHour12?: boolean) => string;