Change output of date to-table to be a one-row table

This commit is contained in:
Stefan Stanciulescu 2021-10-31 20:53:23 +01:00
parent fa8a0958e4
commit 3437dacf0b

View File

@ -140,9 +140,12 @@ fn parse_date_into_table(date: Result<DateTime<FixedOffset>, Value>, head: Span)
span: head, span: head,
}, },
]; ];
Value::Record { Value::List {
cols, vals: vec![Value::Record {
vals, cols,
vals,
span: head,
}],
span: head, span: head,
} }
} }