semuconsulting / pyspartn

Python library for parsing SPARTN protocol messages.
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Rc 0.4.0 #24

Closed semuadmin closed 6 months ago

semuadmin commented 6 months ago

pyspartn Pull Request Template

Description

FIXES:

  1. Fix TypeError: can't subtract offset-naive and offset-aware datetimes error when using default basedates. Basedates must always contain timezone information.
  2. Use timezone.utc rather than datetime.UTC for compatibility with older Python versions.

Fixes #23

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 90% code coverage.

Checklist: