diff --git a/lib/PBot/Plugin/Wttr.pm b/lib/PBot/Plugin/Wttr.pm index ef1d4c63..adde53a2 100644 --- a/lib/PBot/Plugin/Wttr.pm +++ b/lib/PBot/Plugin/Wttr.pm @@ -158,7 +158,7 @@ sub get_wttr { } if (@$options == 1 and $options->[0] eq 'default') { - push @$options, 'chances'; + push @$options, ('chances', 'time'); } foreach my $option (@$order) { @@ -300,7 +300,7 @@ sub get_wttr { when ('cloudcover') { $result .= "Cloud cover: $c->{'cloudcover'}%;\n"; } - when ('time') { $result .= "Observation time: $c->{'localObsDateTime'};\n"; } + when ('time') { $result .= "Observed: $c->{'localObsDateTime'};\n"; } when ('location') { if (exists $wttr->{nearest_area}) { diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 0ad3751d..094f8ef9 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4548, - BUILD_DATE => "2022-06-29", + BUILD_REVISION => 4549, + BUILD_DATE => "2022-07-03", }; sub initialize {}