mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
8 lines
348 B
Markdown
8 lines
348 B
Markdown
|
## zh-CN
|
||
|
|
||
|
配合 `getValueProps` 和 `normalize`,可以转换 `value` 的格式,如将时间戳转成 `dayjs` 对象再传给 `DatePicker`。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
By combining `getValueProps` and `normalize`, it is possible to convert the format of `value`, such as converting the timestamp into a `dayjs` object and then passing it to the `DatePicker`.
|