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

This commit is contained in:
Pablo Revilla
2025-01-13 14:33:58 -08:00
parent 43418c1249
commit 35da39e079
2 changed files with 27 additions and 1060 deletions

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:

File diff suppressed because it is too large Load Diff