Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 9, 2024
1 parent 21e30a0 commit 34a21c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tablib/formats/_ods.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numbers
from io import BytesIO

from odf import opendocument, style, table, text, number
from odf import number, opendocument, style, table, text

import tablib

Expand All @@ -18,9 +18,9 @@

date_style = number.DateStyle(name="date-style1")
date_style.addElement(number.Year(style="long"))
date_style.addElement(number.Text(text=u"-"))
date_style.addElement(number.Text(text="-"))
date_style.addElement(number.Month(style="long"))
date_style.addElement(number.Text(text=u"-"))
date_style.addElement(number.Text(text="-"))
date_style.addElement(number.Day(style="long"))
ds = style.Style(name="ds1", datastylename="date-style1", parentstylename="Default", family="table-cell")

Expand Down

0 comments on commit 34a21c9

Please sign in to comment.