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:
Dan Harrin
2025-06-23 12:24:46 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
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() ??