polars_arrow::temporal_conversions

Function utf8_to_naive_timestamp_scalar

Source
pub fn utf8_to_naive_timestamp_scalar(
    value: &str,
    fmt: &str,
    tu: &TimeUnit,
) -> Option<i64>
Expand description

Parses value to Option<i64> consistent with the Arrow’s definition of timestamp without timezone. Returns in scale tz of TimeUnit.