diff --git a/src/tablib/formats/_ods.py b/src/tablib/formats/_ods.py index 34b47a0d..e3698771 100644 --- a/src/tablib/formats/_ods.py +++ b/src/tablib/formats/_ods.py @@ -158,7 +158,7 @@ def dset_sheet(cls, dataset, ws): cell = table.TableCell(valuetype="float", value=col) elif isinstance(col, dt.datetime): cell = table.TableCell( - valuetype="date", value=col.strftime('%Y-%m-%dT%H:%M:%S') + valuetype="date", datevalue=col.strftime('%Y-%m-%dT%H:%M:%S') ) elif isinstance(col, dt.date): cell = table.TableCell(valuetype="date", datevalue=col.strftime('%Y-%m-%d'))