ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

range-picker 自定义日期库使用 date-fns 但是如何设置中文模式(官方文档只提到了 dayjs 的设置方式)

Open aimerthyr opened this issue 6 months ago • 1 comments
trafficstars

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

vue 3.5.13

Reproduction link

Edit on CodeSandbox

Steps to reproduce

vite config 配置如下,但是我是按需加载,我复现链接使用的是全局加载

Image

What is expected?

希望是中文模式

What is actually happening?

实际是英文

Image

aimerthyr avatar Apr 27 '25 02:04 aimerthyr

@jprudent @chsword @zeratul1 @afc163 y大佬们,有空帮忙看一下嘛

aimerthyr avatar May 14 '25 07:05 aimerthyr

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 14 '25 03:07 github-actions[bot]