mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #16657 from filamentphp/fix/date-time-picker-focused-month-year
fix: Date/time picker focused month/year
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -54,6 +54,8 @@ export default function dateTimePickerFormComponent({
|
||||
dayjs.locale(locales[locale] ?? locales['en'])
|
||||
|
||||
this.focusedDate = dayjs().tz(timezone)
|
||||
this.focusedMonth = this.focusedDate.month()
|
||||
this.focusedYear = this.focusedDate.year().toString()
|
||||
|
||||
let date =
|
||||
this.getSelectedDate() ??
|
||||
|
||||
Reference in New Issue
Block a user