Skip to content

Commit b85097c

Browse files
author
Ilza Medeiros
committed
doc(@clayui/@date-picker): LPD-51204 Update year on documentation
1 parent 549f781 commit b85097c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/clay-date-picker/docs/date-picker.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function App() {
4747
placeholder="YYYY-MM-DD"
4848
value={value}
4949
years={{
50-
end: 2024,
50+
end: new Date().getFullYear(),
5151
start: 1997,
5252
}}
5353
/>
@@ -81,7 +81,7 @@ export default function App() {
8181
timezone="GMT+01:00"
8282
value={value}
8383
years={{
84-
end: 2024,
84+
end: new Date().getFullYear(),
8585
start: 2008,
8686
}}
8787
/>
@@ -123,7 +123,7 @@ export default function App() {
123123
range
124124
value={value}
125125
years={{
126-
end: 2024,
126+
end: new Date().getFullYear(),
127127
start: 1997,
128128
}}
129129
/>
@@ -172,7 +172,7 @@ export default function App() {
172172
value={value}
173173
weekdaysShort={['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб']}
174174
years={{
175-
end: 2024,
175+
end: new Date().getFullYear(),
176176
start: 2008,
177177
}}
178178
/>
@@ -221,7 +221,7 @@ export default function App() {
221221
placeholder="YYYY-MM-DD"
222222
value={value}
223223
years={{
224-
end: 2024,
224+
end: new Date().getFullYear(),
225225
start: 2008,
226226
}}
227227
/>

0 commit comments

Comments
 (0)