Skip to content

Commit 7adb2d3

Browse files
committed
Update app.component.ts
1 parent c80fafa commit 7adb2d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/gantt/resource-view/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ export class AppComponent implements AfterViewInit, OnInit {
271271

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

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

278278
if (type === 'day') {

0 commit comments

Comments
 (0)