Extend calendar week view to 7 days
Updates DateService to generate 7-day week dates Enhances CSS grid layouts with minimum column width Ensures consistent calendar column sizing across components
This commit is contained in:
parent
542b150888
commit
e2c79c067f
2 changed files with 6 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ export class DateService {
|
|||
|
||||
getWeekDates(offset = 0): string[] {
|
||||
const monday = dayjs().startOf('week').add(1, 'day').add(offset, 'week');
|
||||
return Array.from({ length: 5 }, (_, i) =>
|
||||
return Array.from({ length: 7 }, (_, i) =>
|
||||
monday.add(i, 'day').format('YYYY-MM-DD')
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue