Skip to content

Commit 516d589

Browse files
committed
docs(datetime): update showAdjacentDays description
1 parent d06803d commit 516d589

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

core/src/components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ export namespace Components {
937937
*/
938938
"reset": (startDate?: string) => Promise<void>;
939939
/**
940-
* If `true`, the datetime will show the last days of the previous month and the first days of the next month on a table of 42 elements.
940+
* If `true`, the datetime calendar displays a six-week (42-day) layout, including days from the previous and next months to fill the grid. These adjacent days are selectable unless disabled.
941941
*/
942942
"showAdjacentDays": boolean;
943943
/**
@@ -5744,7 +5744,7 @@ declare namespace LocalJSX {
57445744
*/
57455745
"readonly"?: boolean;
57465746
/**
5747-
* If `true`, the datetime will show the last days of the previous month and the first days of the next month on a table of 42 elements.
5747+
* If `true`, the datetime calendar displays a six-week (42-day) layout, including days from the previous and next months to fill the grid. These adjacent days are selectable unless disabled.
57485748
*/
57495749
"showAdjacentDays"?: boolean;
57505750
/**

core/src/components/datetime/datetime.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ export class Datetime implements ComponentInterface {
209209
@Prop() isDateEnabled?: (dateIsoString: string) => boolean;
210210

211211
/**
212-
* If `true`, the datetime will show the last days of the previous month and the first days of the next month on a table of 42 elements.
212+
* If `true`, the datetime calendar displays a six-week (42-day) layout,
213+
* including days from the previous and next months to fill the grid.
214+
* These adjacent days are selectable unless disabled.
213215
*/
214216
@Prop() showAdjacentDays = false;
215217

0 commit comments

Comments
 (0)