(date: Date, timeZone: string)
| 252 | * Takes a `Date` object and converts it to the provided time zone. |
| 253 | */ |
| 254 | export function fromDate(date: Date, timeZone: string): ZonedDateTime { |
| 255 | return fromAbsolute(date.getTime(), timeZone); |
| 256 | } |
| 257 | |
| 258 | /** |
| 259 | * Takes a `Date` object and converts it to the time zone identifier for the current user. |
no test coverage detected