mirror of
https://github.com/danbulant/nushell
synced 2026-05-24 12:35:59 +00:00
Change output of date to-table to be a one-row table
This commit is contained in:
parent
fa8a0958e4
commit
3437dacf0b
1 changed files with 6 additions and 3 deletions
|
|
@ -140,10 +140,13 @@ fn parse_date_into_table(date: Result<DateTime<FixedOffset>, Value>, head: Span)
|
||||||
span: head,
|
span: head,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
Value::Record {
|
Value::List {
|
||||||
|
vals: vec![Value::Record {
|
||||||
cols,
|
cols,
|
||||||
vals,
|
vals,
|
||||||
span: head,
|
span: head,
|
||||||
|
}],
|
||||||
|
span: head,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => e,
|
Err(e) => e,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue