Skip to content

Commit

Permalink
change date(time) dtype fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Oct 11, 2021
1 parent 69b3ac7 commit 3d99b45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polars/polars-core/src/datatypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ impl Display for DataType {
DataType::Float32 => "f32",
DataType::Float64 => "f64",
DataType::Utf8 => "str",
DataType::Date => "Date(days)",
DataType::Datetime => "datetime(ms)",
DataType::Date => "date",
DataType::Datetime => "datetime",
DataType::List(tp) => return write!(f, "list [{}]", tp),
#[cfg(feature = "object")]
DataType::Object(s) => s,
Expand Down

0 comments on commit 3d99b45

Please sign in to comment.