8 lines
361 B
TypeScript
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;
|