Dates are passed to the backend in UTC, and I want to convert time to a given TZ. I'm running into a bug as March 10th is in a different DST for UTC than my test TZ (America/Los_Angeles).
date = #DateTime<2019-03-10 02:25:19.464342Z>
timezone = Timezone.get("America/Los_Angeles", d2)
Timezone.convert(date, timezone)
Line 2 gives the following error
{:error, {:could_not_resolve_timezone, "America/Los_Angeles", 63719403919, :wall}}
I understand that this is because of DST, but at the given time, LA exists in some other datetime, which is what I'm looking for, how would I get that datetime?