mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 12:28:33 +08:00
54286673de
* docs: add getValueProps demo * feat: normalize * feat: normalize * feat: name * feat: name * feat: doc * feat: date * feat: tz * feat: tz
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`.
|