Fix překlep
This commit is contained in:
parent
a9f2206a67
commit
c960b4a417
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def kratke_datum(dt):
|
|||
now = tz.localize(naive_now)
|
||||
delta = now - dt
|
||||
if delta <= timedelta(days=1):
|
||||
return dt.strftime("%k:%M")
|
||||
return dt.strftime("%H:%M")
|
||||
if delta <= timedelta(days=365): # Timedelta neumí vyjádřit 1 rok
|
||||
return dt.strftime("%d. %m.")
|
||||
return dt.strftime("%d. %m. %Y")
|
||||
|
|
Loading…
Reference in a new issue