mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 04:27:16 +02:00
Correct a docstring
This commit is contained in:
parent
b17dd884ed
commit
0e6eefc6f5
1 changed files with 3 additions and 3 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue