You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en-US/guide/i18n.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,13 @@ for globally configuring locale and other settings.
52
52
</script>
53
53
```
54
54
55
+
## Date and time localization
56
+
57
+
We use [Day.js](https://day.js.org/docs/en/i18n/i18n) library to manage date and time in components like `DatePicker`. It is important to set a proper locale in Day.js to make the internationalization fully works. You have to import Day.js's locale config separately.
58
+
```
59
+
import 'dayjs/locale/zh-cn'
60
+
```
61
+
55
62
## CDN Usage
56
63
57
64
If you are using Element Plus via CDN, then you need to do this, let's again take
0 commit comments