@vimeo/iris
Version:
Vimeo Design System
8 lines (7 loc) • 452 B
TypeScript
import { TranslatedStrings } from './translationTypes';
export declare const DD_MM_YY_FORMAT = "DD.MM.YYYY";
export declare const convertDDMMYYYToYYYYMMDD: (date: string) => string;
export declare function formatDate(date: Date): string;
export declare function getDateFormat(): string;
export declare function getDateFormatRegex(format: string): RegExp;
export declare function getMonthFromDate(dateObj: Date, translation: TranslatedStrings): string;