fix weekdaysInMonth, thanks to jankowa. fix filters on aggregations

This commit is contained in:
Milan
2018-04-17 12:01:53 +02:00
parent 23d5261e57
commit 777a49c371
7 changed files with 63 additions and 33 deletions

View File

@@ -416,7 +416,7 @@ sub get_week_of_month_dates{
return undef if $frequency eq'';
return undef if $frequency==0;
my $start_dates=time::get_nth_weekday_in_month($start, $end, $week, $weekday-1);
my $start_dates=time::get_nth_weekday_in_month($start, $end, $week, $weekday);
if ((defined $nextDay) && ($nextDay>0)){
for (my $i=0;$i<@$start_dates;$i++){