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,10 +140,13 @@ fn parse_date_into_table(date: Result<DateTime<FixedOffset>, Value>, head: Span)
span: head,
},
];
Value::Record {
Value::List {
vals: vec![Value::Record {
cols,
vals,
span: head,
}],
span: head,
}
}
Err(e) => e,