Skip to content

Commit

Permalink
Merge pull request #62 from us-irs/ccsds-typing-correction
Browse files Browse the repository at this point in the history
typing correction
  • Loading branch information
robamu authored Nov 13, 2023
2 parents 387c7b4 + 01070aa commit 1ea7235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacepackets/ccsds/time/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ def as_unix_seconds(self) -> float:
current_version=get_version(),
details="use as_date_time instead",
)
def as_datetime(self) -> datetime:
def as_datetime(self) -> datetime.datetime:
return self.as_date_time()

@abstractmethod
def as_date_time(self) -> datetime:
def as_date_time(self) -> datetime.datetime:
"""Retrieve a :py:class:`datetime.datetime` with the :py:class:`datetime.timezone` set to
utc.
"""
Expand Down

0 comments on commit 1ea7235

Please sign in to comment.