mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-22 07:37:29 +00:00
Remove useless print
This commit is contained in:
parent
0a6a07838d
commit
cc20223465
@ -169,7 +169,6 @@ def past_text_to_time(text):
|
|||||||
def time_to_past_text(timestamp):
|
def time_to_past_text(timestamp):
|
||||||
now = int(time.time())
|
now = int(time.time())
|
||||||
diff = now - timestamp
|
diff = now - timestamp
|
||||||
print(diff, type(diff))
|
|
||||||
units = [
|
units = [
|
||||||
["year", 365 * 24 * 60 * 60],
|
["year", 365 * 24 * 60 * 60],
|
||||||
["month", 30 * 24 * 60 * 60],
|
["month", 30 * 24 * 60 * 60],
|
||||||
|
Loading…
Reference in New Issue
Block a user