UNPKG

@discord-user-card/core

Version:

The core behind the Discord User Card project.

33 lines 807 B
declare const DATE_TYPE_FORMATS: { readonly t: { readonly timeStyle: "short"; }; readonly T: { readonly timeStyle: "medium"; }; readonly d: { readonly dateStyle: "short"; }; readonly D: { readonly dateStyle: "long"; }; readonly f: { readonly dateStyle: "long"; readonly timeStyle: "short"; }; readonly F: { readonly dateStyle: "full"; readonly timeStyle: "short"; }; readonly R: { readonly style: "long"; readonly numeric: "auto"; }; }; export declare function formatTimestamp(number: number, format: keyof typeof DATE_TYPE_FORMATS, language?: string): [ string, // formatted date number | undefined ]; export {}; //# sourceMappingURL=formatTimestamp.d.ts.map