mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-06 00:43:05 +02:00
Merge remote-tracking branch 'origin/main' into rm-node-from-db
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ def get_time_ago(timestamp):
|
||||
delta = now - dt
|
||||
|
||||
value, unit = get_time_val_units(delta)
|
||||
if unit is not "s":
|
||||
if unit != "s":
|
||||
return f"{value} {unit} ago"
|
||||
return "now"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user