diff --git a/crates/nu-protocol/src/value/mod.rs b/crates/nu-protocol/src/value/mod.rs index d39be76daf..d367f6fd17 100644 --- a/crates/nu-protocol/src/value/mod.rs +++ b/crates/nu-protocol/src/value/mod.rs @@ -205,6 +205,7 @@ impl Value { )); } }), + Value::Date { val, .. } => Ok(val.to_rfc3339_opts(chrono::SecondsFormat::Millis, true)), x => Err(ShellError::CantConvert( "string".into(), x.get_type().to_string(),