Skip to content

Commit

Permalink
Update app.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarkov committed Aug 31, 2022
1 parent c80fafa commit 7adb2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/gantt/resource-view/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ export class AppComponent implements AfterViewInit, OnInit {

endDateOfWeek.setDate(date.getDate() + 6);

return startDayOfWeek.toLocaleDateString(gantt.locale, { day: 'numeric', month: monthFormat, year: gantt.yearFormat }) + ' - ' +
endDateOfWeek.toLocaleDateString(gantt.locale, { day: 'numeric', month: monthFormat, year: gantt.yearFormat });
return startDayOfWeek.toLocaleDateString(gantt.locale, { day: 'numeric', month: monthFormat, year: 'numeric' }) + ' - ' +
endDateOfWeek.toLocaleDateString(gantt.locale, { day: 'numeric', month: monthFormat, year: 'numeric' });
}

if (type === 'day') {
Expand Down

0 comments on commit 7adb2d3

Please sign in to comment.