@parsify/timezone
Version:
Parsify plugin for time zone conversion
10 lines (9 loc) • 376 B
TypeScript
export interface Options {
key: string;
location: string;
prefersLong?: boolean;
locale?: string;
fetcher: (url: string, ...options: any[]) => Promise<unknown>;
}
export declare const byLocation: ({ key, location, prefersLong, locale, fetcher, }: Options) => Promise<string>;
export declare const byZone: (zone: string, locale: string) => Promise<string>;