polars::chunked_array::temporal::conversion

Function get_strftime_format

Source
pub fn get_strftime_format(
    fmt: &str,
    dtype: &DataType,
) -> Result<String, PolarsError>
Available on crate features temporal or dtype-datetime or dtype-date only.