/// Tries to convert a chrono `fmt` to a `fmt` that the polars parser consumes.
/// E.g. chrono supports single letter date identifiers like %F, whereas polars only consumes
/// year, day, month distinctively with %Y, %d, %m.
Tries to convert a chrono `fmt` to a `fmt` that the polars parser consumes.
Tries to convert a chrono ` fmt ` to a ` fmt ` that the polars parser consumes .
pub(super) fn compile_fmt(fmt: &str) -> String {
    fmt.replace("%D", "%m/%d/%y")
        .replace("%R", "%H:%M")
        .replace("%T", "%H:%M:%S")
        .replace("%X", "%H:%M:%S")
        .replace("%F", "%Y-%m-%d")
}
pub ( super ) fn compile_fmt ( fmt : & str ) -> String { fmt . replace ( " " , " " ) . replace ( " " , " " ) . replace ( " " , " " ) . replace ( " " , " " ) . replace ( " " , " " ) }
Tries to convert a chrono `fmt` to a `fmt` that the polars parser consumes.
Tries to convert a chrono ` fmt ` to a ` fmt ` that the polars parser consumes .
fmt
&str