Skip to content

Commit 71f17c9

Browse files
committed
[QA] Function notes come before param docs.
1 parent f5324ac commit 71f17c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

github2/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ def datetime_to_commitdate(datetime_):
8282
def datetime_to_isodate(datetime_):
8383
"""Convert Python datetime to GitHub date string
8484
85+
.. note:: Supports naive and timezone-aware datetimes
86+
8587
:param str datetime_: datetime object to convert
8688
87-
.. note:: Supports naive and timezone-aware datetimes
8889
"""
8990
if not datetime_.tzinfo:
9091
datetime_ = datetime_.replace(tzinfo=tz.tzutc())

0 commit comments

Comments
 (0)