diff --git a/crates/nu-protocol/src/ty.rs b/crates/nu-protocol/src/ty.rs index 56f22af070..f59f9295be 100644 --- a/crates/nu-protocol/src/ty.rs +++ b/crates/nu-protocol/src/ty.rs @@ -122,7 +122,7 @@ impl Type { Type::Closure => String::from("closure"), Type::Bool => String::from("bool"), Type::CellPath => String::from("cell-path"), - Type::Date => String::from("date"), + Type::Date => String::from("datetime"), Type::Duration => String::from("duration"), Type::Filesize => String::from("filesize"), Type::Float => String::from("float"), @@ -152,7 +152,7 @@ impl Display for Type { Type::Closure => write!(f, "closure"), Type::Bool => write!(f, "bool"), Type::CellPath => write!(f, "cell-path"), - Type::Date => write!(f, "date"), + Type::Date => write!(f, "datetime"), Type::Duration => write!(f, "duration"), Type::Filesize => write!(f, "filesize"), Type::Float => write!(f, "float"),