nextui icon indicating copy to clipboard operation
nextui copied to clipboard

DateRangePicker locale not working

Open pjatupon opened this issue 1 year ago • 3 comments

NextUI Version

2.4.8

Describe the bug

my code

<I18nProvider locale="th-TH-u-ca-buddhist">
                            <DateRangePicker
                                //key={placement}
                                aria-label="Date (International DateRangePicker)"
                                label="เลือกช่วงวันที่"
                                labelPlacement="outside"
                                visibleMonths={2}
                                value={date}
                                onChange={setDate}
                            />
                        </I18nProvider>

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

please help me. how to set locale for calendar

Expected behavior

image

Screenshots or Videos

image

Operating System Version

windows 11

Browser

Chrome

pjatupon avatar Oct 17 '24 04:10 pjatupon

I want to display like this image

pjatupon avatar Oct 17 '24 04:10 pjatupon

Same issue here in chinese. nextui version: 2.4.8

image

gamersover avatar Oct 19 '24 05:10 gamersover

I had a similar problem, downgrading @react-aria/i18n to version 3.11.1 solved the problem.

omidbaharifar avatar Oct 29 '24 21:10 omidbaharifar

I had a similar problem, downgrading @react-aria/i18n to version 3.11.1 solved the problem.

It's work. Thank you.

image

pjatupon avatar Oct 30 '24 02:10 pjatupon

I had a similar problem, downgrading @react-aria/i18n to version 3.11.1 solved the problem.

thank you man , u saved my life !

mamadohack avatar Oct 31 '24 16:10 mamadohack