Skip to content

Commit

Permalink
Minor typo fixes. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 30, 2020
1 parent 0200d1e commit 004a1fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nti/externalization/datetime.py
Expand Up @@ -63,7 +63,7 @@ def _parse_with(func, string):
@interface.implementer(IDate)
def date_from_string(string):
"""
This adapter allows any field which comes in as a string is
This adapter allows any field which comes in as a string in
IOS8601 format to be transformed into a date. The schema field
must be an `zope.schema.Object` field with a type of
`zope.interface.common.idatetime.IDate`.
Expand Down Expand Up @@ -143,7 +143,7 @@ def _as_utc_naive(dt, assume_local=True, local_tzname=None):
@interface.implementer(IDateTime)
def datetime_from_string(string, assume_local=False, local_tzname=None):
"""
This adapter allows any field which comes in as a string is
This adapter allows any field which comes in as a string in
IOS8601 format to be transformed into a
:class:`datetime.datetime`. The schema field should be an
`nti.schema.field.Object` field with a type of
Expand Down

0 comments on commit 004a1fc

Please sign in to comment.