@leafygreen-ui/date-utils
Version:
LeafyGreen UI Kit Date Utils
8 lines • 327 B
TypeScript
/**
* Mocks the `timeZone` returned from the `Intl.DateTimeFormat`,
* and various `get*` methods on the `Date` prototype
* @param timeZone IANA time zone string
* @param UTCOffset UTC offset (in hours)
*/
export declare const mockTimeZone: (timeZone: string, UTCOffset: number) => void;
//# sourceMappingURL=index.d.ts.map