UTC change made uplinked packets not work. reverted the changes.

This commit is contained in:
Pablo Revilla committed 2025-01-13 14:33:58 -08:00
1 parent 43418c1249
commit 35da39e079
2 files changed
+27 -1060

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ async def get_packets(node_id=None, portnum=None, since=None, limit=500, before=
if portnum:
q = q.where(Packet.portnum == portnum)
if since:
q = q.where(Packet.import_time > (datetime.datetime.utc() - since))
q = q.where(Packet.import_time > (datetime.datetime.now() - since))
if before:
q = q.where(Packet.import_time < before)
if after:
+26 -1059
View File
File diff suppressed because it is too large. Load diff