From b66596d9ed8b7e92da60ddac84f1f086e99cc5f8 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 25 Jan 2020 15:19:08 -0800 Subject: [PATCH] Plugins/Date.pm: oops, use $arguments too --- Plugins/Date.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/Date.pm b/Plugins/Date.pm index ce7448c7..ccadb15a 100644 --- a/Plugins/Date.pm +++ b/Plugins/Date.pm @@ -42,6 +42,7 @@ sub datecmd { my $timezone = $self->{pbot}->{registry}->get_value('date', 'default_timezone') // 'UTC'; my $tz_override = $self->{pbot}->{users}->get_loggedin_user_metadata($from, "$nick!$user\@$host", 'timezone'); $timezone = $tz_override if $tz_override; + $timezone = $arguments if length $arguments; my $newstuff = { from => $from, nick => $nick, user => $user, host => $host,