Skip to content

Commit

Permalink
#434 fix illegal daily report day on month change
Browse files Browse the repository at this point in the history
  • Loading branch information
haininghu authored and KlausRicharz committed Nov 3, 2024
1 parent 7397adf commit 3f27f29
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@
import static org.tb.common.DateTimeViewHelper.getTimeReportHoursOptions;
import static org.tb.common.DateTimeViewHelper.getTimeReportMinutesOptions;
import static org.tb.common.DateTimeViewHelper.getYearsToDisplay;
import static org.tb.common.util.DateUtils.format;
import static org.tb.common.util.DateUtils.formatDayOfMonth;
import static org.tb.common.util.DateUtils.formatMonth;
import static org.tb.common.util.DateUtils.formatYear;
import static org.tb.common.util.DateUtils.getDateAsStringArray;
import static org.tb.common.util.DateUtils.getDateFormStrings;
import static org.tb.common.util.DateUtils.getYearString;
import static org.tb.common.util.DateUtils.today;
import static org.tb.common.util.DateUtils.*;
import static org.tb.common.util.TimeFormatUtils.timeFormatMinutes;

import jakarta.servlet.http.HttpServletRequest;
Expand Down Expand Up @@ -446,6 +439,7 @@ private ActionForward doRefreshTimereports(ActionMapping mapping, HttpServletReq
}
reportForm.setMonth(getShortstringFromMonthMM(beginDate.getMonthValue()));
reportForm.setYear(getYearString(beginDate));
reportForm.setDay(getDayString(beginDate));
}

// monthly view -> create date and synchronize with end-/lastdate-fields
Expand Down

0 comments on commit 3f27f29

Please sign in to comment.