mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Thu 15 Dec 00:50:44 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
16eda6efd4
commit
b9a47a39aa
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ def editor(config: Dict[str, Any], file: str) -> None:
|
|||
|
||||
|
||||
def format_time(timestamp: float) -> str:
|
||||
return str(datetime.fromtimestamp(timestamp))
|
||||
return datetime.fromtimestamp(timestamp).strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
||||
|
||||
def iinput(prompt: str, default_text: str = "") -> str:
|
||||
|
|
Loading…
Add table
Reference in a new issue