This commit is contained in:
Luke Ogburn
2022-04-13 23:09:49 -04:00
parent 4cc7182321
commit 2b8616f52f

View File

@@ -55,6 +55,7 @@ class helper():
# timedelta of timestamp
stamp_delta = datetime.fromtimestamp(ts1)
stamp_delta = datetime.now() - stamp_delta
print(" ts_older: {stamp_delta} > {hours_delta}")
return stamp_delta > hours_delta
# returns True if place hasn't had a post in the past 12 hours according