- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
Can config default format globally.
What does the proposed API look like?
<ConfigProvider locale={localeWithFormat} />
Can config default format globally.
<ConfigProvider locale={localeWithFormat} />
6条答案
按热度按时间eimct9ow1#
#14656
#26977
#23902
gcmastyq2#
Same issue, has it been fixed?
xt0899hw3#
I can see the locale object on the
DatePicker
with correct formatdateFormat: "D/M/YYYY"
, but the selected date is formatted with some other format (Default?)YYYY-M-D
. Are you planing on fixing this bug?uinbv5nw4#
Any update on this issue?
tmb3ates5#
I'm having this issue too, the config provider doesn't affect date/time pickers, they always display the chinese date format YYYY-MM-DD instead of anything else. Like US MM/DD/YYYY
b1zrtrql6#
Just FYI if I use
format="L"
it solves my problem theDatePicker
gets the format from the locale.