This commit is contained in:
estifanos
2026-08-10 09:07:09 +00:00
parent 31547ba608
commit 854a446411

View File

@@ -293,6 +293,7 @@ export function AmharicDatePicker({
defaultMonth={selected ?? undefined}
endMonth={YEAR_DROPDOWN_END}
numerals="latn"
captionLayout="dropdowns"
formatters={ETH_FORMATTERS}
onSelect={(date: Date | undefined) => {
onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : '');
@@ -306,6 +307,7 @@ export function AmharicDatePicker({
selected={selected ?? undefined}
defaultMonth={selected ?? undefined}
endMonth={YEAR_DROPDOWN_END}
captionLayout="dropdowns"
onSelect={(date: Date | undefined) => {
onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : '');
if (!withTime) close();