fix: Calendar events on the last day of the month do not appear on the month view
This commit is contained in:
parent
11b9faa827
commit
73d85203d5
2 changed files with 4 additions and 1 deletions
|
|
@ -74,6 +74,8 @@
|
|||
|
||||
7.3.21
|
||||
- fix: Self-deactivation doesn't show login screen after success
|
||||
- fix regression: Calendar events on the last day of the month do not appear on the month view
|
||||
http://www.webgui.org/bugs/tracker/fixed-calendar-events-on-the-last-day-of-the-month-do-not-appear-on-the-month-view
|
||||
|
||||
7.3.20
|
||||
- Added beta label to the beta components in the system, so people can more
|
||||
|
|
|
|||
|
|
@ -1121,8 +1121,9 @@ sub viewMonth {
|
|||
my $dt = WebGUI::DateTime->new($self->session, $params->{start});
|
||||
$dt->truncate( to => "month");
|
||||
my $start = $dt->toMysql;
|
||||
my $dtEnd = $dt->clone->add(months => 1)->add(seconds => -1);
|
||||
my $dtEnd = $dt->clone->add(months => 1);
|
||||
my $end = $dtEnd->toMysql;
|
||||
$dtEnd->add(seconds => -1);
|
||||
|
||||
my @events
|
||||
= $self->getEventsIn($start,$end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue