]> www.average.org Git - loctrkd.git/commitdiff
beesure: don't mess with timezones for devtime
authorEugene Crosser <crosser@average.org>
Wed, 13 Jul 2022 18:52:21 +0000 (20:52 +0200)
committerEugene Crosser <crosser@average.org>
Thu, 14 Jul 2022 20:39:57 +0000 (22:39 +0200)
loctrkd/beesure.py

index 707de43500225dd6fd8ad122906c70e2a36db434..b83b68b755ba8e4543d22a0aa1b7e8c79331501c 100755 (executable)
@@ -382,8 +382,8 @@ class _LOC_DATA(BeeSurePkt):
                 p.date + p.time,
                 "%d%m%y%H%M%S",
             )
-            .replace(tzinfo=timezone.utc)
-            .astimezone(tz=timezone.utc)
+            .replace(tzinfo=timezone.utc)
+            .astimezone(tz=timezone.utc)
         )
         self.latitude = p.lat * p.nors
         self.longitude = p.lon * p.eorw