This commit is contained in:
Auric Vente
2024-07-19 19:46:02 -06:00
parent 554cd1af72
commit c185aaa500
3 changed files with 5 additions and 6 deletions

View File

@@ -114,4 +114,4 @@ class Utils:
def to_date(timestamp: float) -> str:
dt_object = datetime.fromtimestamp(timestamp)
hour = dt_object.strftime("%I").lstrip("0")
return dt_object.strftime(f"%b %d %Y - {hour}:%M %p")
return dt_object.strftime(f"%b %d %Y - {hour}:%M %p")