fix(time): Correct name in diffstr.

This commit is contained in:
2025-06-24 18:54:54 +10:00
parent d4fa04e696
commit 0eaa73b32a

View File

@@ -103,7 +103,7 @@ class TimeCog(LionCog):
name = name or await authprofile.get_name()
if target:
tdiffstr = await self.time_diff(targettz, authtz, name)
tdiffstr = await self.time_diff(targettz, authtz, await authprofile.get_name())
msg = f"The current time for {name} is {timestr}{tdiffstr}"
else:
msg = f"The current time for {name} is {timestr}"