Skip to content

Commit

Permalink
Fix: Monthly scheduler shows wrong date in admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Oct 1, 2024
1 parent acebe40 commit 122a361
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/comps/admin/adminScheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ let MyAdminScheduler = {
);

switch(s.intervalType) {
case 'months': parts.push(this.capApp.scheduleLineDayMonths.replace('{DAY}',s.atDay+1)); break;
case 'weeks': parts.push(this.capApp.scheduleLineDayWeeks.replace('{DAY}',s.atDay)); break;
case 'years': parts.push(this.capApp.scheduleLineDayYears.replace('{DAY}',s.atDay)); break;
case 'months': parts.push(this.capApp.scheduleLineDayMonths.replace('{DAY}',s.atDay)); break;
case 'weeks': parts.push(this.capApp.scheduleLineDayWeeks.replace('{DAY}',s.atDay)); break;
case 'years': parts.push(this.capApp.scheduleLineDayYears.replace('{DAY}',s.atDay)); break;
}

if(['days','weeks','months','years'].includes(s.intervalType))
Expand Down

0 comments on commit 122a361

Please sign in to comment.