diff --git a/oxrlib/config.py b/oxrlib/config.py index 17d75c379ccbde9a4c1ff398136dce85ae2fcedb..92dcffcb44cf5486753c6623b9dd26a5450022b7 100644 --- a/oxrlib/config.py +++ b/oxrlib/config.py @@ -20,7 +20,7 @@ def currency_code(s): def date_from(fmt_s): def date_from_fmt(s): - return datetime.datetime.strptime(s, fmt_s).date + return datetime.datetime.strptime(s, fmt_s).date() return date_from_fmt class Configuration: