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