UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

11 lines (10 loc) 590 B
/** * 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 const formatDate: (date: Date, locale?: string, options?: Intl.DateTimeFormatOptions) => string; export declare const getTimestamp: (dateMilliseconds?: number) => number;