File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
core/src/components/datetime Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1282,7 +1282,7 @@ export class Datetime implements ComponentInterface {
1282
1282
: [ ] ;
1283
1283
1284
1284
if ( isDateEnabled ) {
1285
- days = days . map ( dayObject => {
1285
+ days = days . map ( ( dayObject ) => {
1286
1286
const referenceParts = { month : workingParts . month , day : dayObject . value , year : workingParts . year } ;
1287
1287
1288
1288
let disabled ;
@@ -1302,9 +1302,9 @@ export class Datetime implements ComponentInterface {
1302
1302
1303
1303
return {
1304
1304
...dayObject ,
1305
- disabled
1306
- }
1307
- } )
1305
+ disabled,
1306
+ } ;
1307
+ } ) ;
1308
1308
}
1309
1309
1310
1310
const shouldRenderYears = forcePresentation !== 'month' && forcePresentation !== 'time' ;
Original file line number Diff line number Diff line change @@ -377,7 +377,6 @@ export const getDayColumnData = (
377
377
return days ;
378
378
} ;
379
379
380
-
381
380
export const getYearColumnData = (
382
381
refParts : DatetimeParts ,
383
382
minParts ?: DatetimeParts ,
You can’t perform that action at this time.
0 commit comments