Skip to content

Commit

Permalink
services: custom_fields: date: use parse_edtf from babel-edtf
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba authored and zzacharo committed Oct 19, 2023
1 parent 947ec4b commit 6d1bc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_records_resources/services/custom_fields/date.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import calendar

from arrow import Arrow
from edtf import parse_edtf
from babel_edtf import parse_edtf
from edtf.parser.edtf_exceptions import EDTFParseException
from marshmallow import fields
from marshmallow_utils.fields import EDTFDateString, ISODateString
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
babel-edtf>=1.1.0
flask-resources>=1.0.0,<2.0.0
invenio-accounts>=3.0.0,<4.0.0
invenio-base>=1.2.12,<2.0.0
Expand Down

0 comments on commit 6d1bc2c

Please sign in to comment.