mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Use localtime for MudInfo channel output. Resolves #2182.
This commit is contained in:
parent
09e53d5efe
commit
29b381fbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -1262,7 +1262,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
|||
]
|
||||
except Exception:
|
||||
logger.log_trace()
|
||||
now = timezone.now()
|
||||
now = timezone.localtime()
|
||||
now = "%02i-%02i-%02i(%02i:%02i)" % (now.year, now.month, now.day, now.hour, now.minute)
|
||||
if _MUDINFO_CHANNEL:
|
||||
_MUDINFO_CHANNEL.tempmsg(f"[{_MUDINFO_CHANNEL.key}, {now}]: {message}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue