Skip to content

Commit

Permalink
Remove unneeded variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Apr 24, 2024
1 parent 6038a6f commit 85e0f64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -12239,8 +12239,7 @@ sub weather

if((my $d = $dfg->parse_datetime(date => $date)) &&
(my $location = get_location($record->place()))) {
my $date = $d->strftime('%F');
my $weather = $meteo->weather($location, $date);
my $weather = $meteo->weather($location, $d->strftime('%F'));

return unless(defined($weather));

Expand Down

0 comments on commit 85e0f64

Please sign in to comment.