Skip to content

Commit e714966

Browse files
Cosmetic changes
1 parent 2c94287 commit e714966

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/timekit.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ def configure_time(time_zone: str="Europe/Tallinn", format: str="%d-%m-%YT%H:%M"
1111
"""
1212
Configure datetime object based on the given keyword arguments.
1313
14-
:param time_zone: (str) Timezone to use (default "Europe/Tallinn").
15-
:param format: (str) Format to use (default "%d-%m-%YT%H:%M").
16-
:param kwargs: (dict) Keyword arguments to manipulate the datetime object.
17-
18-
:return: (str) Datetime object as a string.
14+
Args:
15+
time_zone: (str) Timezone to use (default "Europe/Tallinn").
16+
format: (str) Format to use (default "%d-%m-%YT%H:%M").
17+
kwargs: (dict) Keyword arguments to manipulate the datetime object.
18+
19+
Returns:
20+
result: (str) Datetime object as a string.
1921
2022
Example:
2123
# Get the last day of the previous month in Europe/London timezone

0 commit comments

Comments
 (0)