Skip to content

Commit

Permalink
Merge pull request #4021 from FAJ-Munich/master
Browse files Browse the repository at this point in the history
Fix Ant Vespera 2024-08-31 and similar cases
  • Loading branch information
APMarcello3 authored Aug 31, 2024
2 parents aa2def2 + b984193 commit fb53eb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/cgi-bin/horas/horascommon.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1212,12 +1212,13 @@ sub gettoday {

sub setsecondcol {
our ($winner, $commemoratio, $commune, $scriptura);
our ($lang2, $tvesp, $testmode);
our ($lang2, $vespera, $cvespera, $testmode);

our (%winner2, %commemoratio2, %commune2, %scriptura2) = () x 4;

%winner2 = %{officestring($lang2, $winner, $winner =~ /tempora/i && $tvesp == 1)} if $winner;
%commemoratio2 = %{officestring($lang2, $commemoratio)} if $commemoratio;
%winner2 = %{officestring($lang2, $winner, $winner =~ /tempora/i && $vespera == 1)} if $winner;
%commemoratio2 = %{officestring($lang2, $commemoratio, $commemoratio =~ /tempora/i && $cvespera == 1)}
if $commemoratio;
%commune2 = %{officestring($lang2, $commune)} if $commune;
%scriptura2 = %{officestring($lang2, $scriptura)} if $scriptura;

Expand Down

0 comments on commit fb53eb8

Please sign in to comment.