Skip to main content

py_datetime_to_datetime_with_timezone

Function py_datetime_to_datetime_with_timezone 

Source
fn py_datetime_to_datetime_with_timezone<Tz: TimeZone>(
    dt: &Bound<'_, PyDateTime>,
    tz: Tz,
) -> PyResult<DateTime<Tz>>
Available on crate feature chrono only.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here