UNPKG

@toutix/whitelabel

Version:

Toutix whitelabel React container components

15 lines 831 B
export declare const formatedDateTime: (datetime: string) => string; export declare const formatedDate: (datetime: string) => string; export declare const formatedTime: (datetime: string) => string; export declare const extractUtcOffset: (text: string) => string; /** * Formats a date to show in a different time zone based on the provided offset. * * @param datetime - The date string in ISO format. * @param offset - The time zone offset (e.g., "-05:00"). * @param formatString - The format string to use for formatting the date (e.g., "dddd, MMMM D YYYY"). * @returns The formatted date string. */ export declare const formatedDateTimeOffsetUtc: (datetime: string, offset: string, formatString?: string) => string; export declare const formatTime: (timeMs: number) => string; //# sourceMappingURL=date-time-utils.d.ts.map