Skip to content

Commit

Permalink
Merge pull request #78 from us-irs/remove-deprecated-api-call
Browse files Browse the repository at this point in the history
remove deprecated API call
  • Loading branch information
robamu committed Apr 23, 2024
2 parents 719d90f + c3dfa0d commit bd352cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacepackets/ccsds/time/cds.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def __add__(self, timedelta: datetime.timedelta):
@classmethod
def now(cls) -> CdsShortTimestamp:
"""Returns a seven byte CDS short timestamp with the current time."""
return cls.from_date_time(datetime.datetime.now(tz=datetime.timezone.utc))
return cls.from_datetime(datetime.datetime.now(tz=datetime.timezone.utc))

@classmethod
@deprecation.deprecated(
Expand Down

0 comments on commit bd352cc

Please sign in to comment.