(20241128) Type hinting added.
This commit is contained in:
@@ -112,7 +112,7 @@ def translate_date_time_string(
|
|||||||
datetime_string: str,
|
datetime_string: str,
|
||||||
source_format: str = None,
|
source_format: str = None,
|
||||||
destination_format: str = "%Y-%m-%dT%H:%M:%S"
|
destination_format: str = "%Y-%m-%dT%H:%M:%S"
|
||||||
) -> str:
|
) -> str | None:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
To convert an input datetime string to a different format.
|
To convert an input datetime string to a different format.
|
||||||
|
|||||||
Reference in New Issue
Block a user