mirror of
https://github.com/immich-app/immich.git
synced 2026-02-27 05:30:16 -05:00
* ScrollDatePicker defaults maximumDate to DateTime.now(). When no birthday exists, the picker starts at today (Feb 2026) with max also Feb 2026 — so only Jan–Feb are available for the current year. Fix applied: Added maximumDate: DateTime(DateTime.now().year, 12, 31) at person_edit_birthday_modal.widget.dart:93, allowing all 12 months to be selected while still preventing future-year birthdays. * fix(mobile): initialize birthday picker to past date to prevent future birthdays When no birthday exists, initialize to 30 years ago instead of today. This allows all 12 months to be selectable while keeping maximumDate as DateTime.now() to prevent future birthday selection. Fixes issue where only current months were available due to maxDate constraint. --------- Co-authored-by: socksprox <info@shadowfly.net>