mirror of
https://github.com/danbulant/nushell
synced 2026-05-21 13:28:51 +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,9 +140,12 @@ fn parse_date_into_table(date: Result<DateTime<FixedOffset>, Value>, head: Span)
|
|||
span: head,
|
||||
},
|
||||
];
|
||||
Value::Record {
|
||||
cols,
|
||||
vals,
|
||||
Value::List {
|
||||
vals: vec![Value::Record {
|
||||
cols,
|
||||
vals,
|
||||
span: head,
|
||||
}],
|
||||
span: head,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue