Skip to content

Commit

Permalink
fixed typo dateime -> datetime
Browse files Browse the repository at this point in the history
resolves ioos#88
  • Loading branch information
ayushanand18 authored Aug 30, 2022
1 parent 9086603 commit 7bba302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,23 @@ Filter from a datetime (the 'start' parameter)

.. code:: python
from dateime import dateime, timedelta
from datetime import datetime, timedelta
collector.filter(start=datetime.utcnow() - timedelta(hours=1))
Filter until a datetime (the 'end' parameter)
'''''''''''''''''''''''''''''''''''''''''''''

.. code:: python
from dateime import dateime
from datetime import datetime
collector.filter(end=datetime.utcnow())
Filter a datetime range (both 'start' and 'end' parameters)
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

.. code:: python
from dateime import dateime, timedelta
from datetime import datetime, timedelta
collector.filter(start=datetime.utcnow - timedelta(hours=24), end=datetime.utcnow())
Feature(s)
Expand Down

0 comments on commit 7bba302

Please sign in to comment.