Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
15 lines
619 B
Plaintext
15 lines
619 B
Plaintext
import type { I18n, I18nClient } from '@payloadcms/translations';
|
|
export type FormatDateArgs = {
|
|
date: Date | number | string | undefined;
|
|
i18n: I18n<unknown, unknown> | I18nClient<unknown>;
|
|
pattern: string;
|
|
timezone?: string;
|
|
};
|
|
export declare const formatDate: ({ date, i18n, pattern, timezone }: FormatDateArgs) => string;
|
|
type FormatTimeToNowArgs = {
|
|
date: Date | number | string | undefined;
|
|
i18n: I18n<unknown, unknown> | I18nClient<unknown>;
|
|
};
|
|
export declare const formatTimeToNow: ({ date, i18n }: FormatTimeToNowArgs) => string;
|
|
export {};
|
|
//# sourceMappingURL=formatDateTitle.d.ts.map |