Closed askmakdag closed 6 months ago
locale={require('dayjs/locale/tr')}
fixed my issue. Thanks.
It is better to import your desired locales in App.tsx (App.jsx):
import 'dayjs/locale/tr'
import 'dayjs/locale/fr'
import 'dayjs/locale/de'
and use your locale locale={'tr'}
in DateTimePicker every where you want
I want to use the month names in Turkish. Giving
locale={'tr'}
didn't work.