diff --git a/crates/nu-command/src/date/format.rs b/crates/nu-command/src/date/format.rs index ca9f89cb1f..abee6653d4 100644 --- a/crates/nu-command/src/date/format.rs +++ b/crates/nu-command/src/date/format.rs @@ -88,15 +88,6 @@ fn format_helper(value: Value, formatter: &Spanned, span: Span) -> Value }, Err(e) => e, } - // if dt.is_ok() { - - // Value::String { - // val: dt.unwrap().format(formatter.item.as_str()).to_string(), - // span, - // } - // } else { - // dt.unwrap_err() - // } } Value::Nothing { span: _ } => { let dt = Local::now();