ElemeFE / ElemeFE/element-react

Date picker format issues

Open
#1,005 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description

If I try to give _format_ prop in the date picker component, the month name gets converted to chinese character.

### Reproduce Steps

1. format="dd-MMM-yy" should give **12-Aug-19** but instead it gives **12-八月-19**
2. format="dd-MMMM-yyyy" should give **12-August-2019** but instead it gives **12-8 月-19**

### Exact code I'm using
```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.