forked from extern/nushell
Change output of date to-table to be a one-row table
This commit is contained in:
parent
fa8a0958e4
commit
3437dacf0b
@ -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 New Issue
Block a user