diff options
Diffstat (limited to 'templates-neo/src')
-rw-r--r-- | templates-neo/src/mf2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates-neo/src/mf2.rs b/templates-neo/src/mf2.rs index e59b51c..194e02b 100644 --- a/templates-neo/src/mf2.rs +++ b/templates-neo/src/mf2.rs @@ -223,7 +223,7 @@ impl TryFrom<Item> for Cite { todo!() } - + } pub enum Citation { @@ -343,7 +343,7 @@ impl TryFrom<Item> for Entry { PropertyValue::Temporal(Temporal::Timestamp(dt)) => { // This is incredibly sketchy. let (date, time, offset) = (dt.date.clone().unwrap().data, dt.as_time().unwrap().data.clone(), dt.as_time().unwrap().offset.unwrap().data); - + date.and_time(time).and_local_timezone(offset).single().ok_or_else(|| Error::WrongValueType { expected: "datetime with timezone", got: PropertyValue::Temporal(Temporal::Timestamp(dt)) |