mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-06-19 01:25:43 +02:00
UTC change made uplinked packets not work. reverted the changes.
This commit is contained in:
+1
-1
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user