degachejs
Version:
A Tunisian utility library for working with CIN, phone numbers, addresses, and more
12 lines (11 loc) • 330 B
TypeScript
/**
* Formats a date according to Tunisian locale
* @param date - The date to format
* @param options - Intl.DateTimeFormat options
* @returns formatted date string
*/
export declare const formatDate: (date: Date, options?: Intl.DateTimeFormatOptions) => string;
/**
* Date locale
*/
export declare const LOCALE = "ar-TN";