UNPKG

@leafygreen-ui/date-utils

Version:
11 lines 492 B
/** * Returns a date object that _looks like_ the local time * for the given time zone when printed in ISO format. * * e.g. given `date = "2023-12-25T01:00Z"` and `timeZone = "America/Los_Angeles"`, * we get a date with the ISO date stamp `"2023-12-24T17:00Z"`, * which _looks like_ the LA local time, * (though the date object technically incorrect). */ export declare const getSimulatedTZDate: (date: Date, timeZone: string) => Date; //# sourceMappingURL=getSimulatedTZDate.d.ts.map