@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
10 lines (9 loc) • 515 B
TypeScript
/**
* Formats a Date object into a string based on the given locale and options.
*
* @param date - The Date object to format.
* @param locale - A string with a BCP 47 language tag, e.g., 'en-US' or 'de-DE'. Defaults to 'navigator.language' or 'en-US'.
* @param options - An optional object with configuration properties for date formatting.
* @returns A string representing the formatted date.
*/
export declare function formatDate(date: Date, locale?: string, options?: Intl.DateTimeFormatOptions): string;