react-datetime-picker
Version:
A date range picker for your React app.
4 lines (3 loc) • 347 B
TypeScript
export declare function getFormatter(options: Intl.DateTimeFormatOptions): (locale: string | undefined, date: Date) => string;
export declare function getNumberFormatter(options: Intl.NumberFormatOptions): (locale: string | undefined, number: number) => string;
export declare const formatDate: (locale: string | undefined, date: Date) => string;