mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-10-31 03:01:58 +01:00
UTC change made uplinked packets not work. reverted the changes.
This commit is contained in:
1 parent
43418c1249
commit
35da39e079
2 files changed
+27
-1060
No files matched your search
+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