From 0e6eefc6f5d3213776982cb40c34cec8f01e8f50 Mon Sep 17 00:00:00 2001 From: Chiizujin Date: Sat, 13 Apr 2024 02:53:35 +1000 Subject: [PATCH] Correct a docstring --- evennia/utils/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/utils/utils.py b/evennia/utils/utils.py index 5f3b33ad01..6067aec8de 100644 --- a/evennia/utils/utils.py +++ b/evennia/utils/utils.py @@ -676,9 +676,9 @@ def datetime_format(dtobj, time_zone=None): Args: dtobj (datetime): An datetime object, e.g. from Django's `DateTimeField`. - time_zone (tzfile): If provided, `dtobj` is adjusted to - the given time zone for the elapsed time calculations. - This should be used if `dtobj` is not UTC. + time_zone (tzfile): If provided, the current date/time is + adjusted to the given time zone for the elapsed time + calculations. This should be used if `dtobj` is not UTC. Returns: deltatime (str): A string describing how long ago `dtobj`