mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-24 00:03:42 +05:00
docs(utils): add docstrings
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ from typing import Dict, Literal
|
||||
def get_current_date() -> Dict[Literal["date", "time"], str]:
|
||||
"""
|
||||
Get the current date |
|
||||
:return: a Dict holding a date and time key:value pair
|
||||
:return: Dict holding a date and time key:value pair
|
||||
"""
|
||||
now: datetime = datetime.today()
|
||||
date: str = now.strftime("%Y-%m-%d")
|
||||
|
||||
Reference in New Issue
Block a user