ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

[bug report] El date picker format problem (format = "yyyy mm dd dd HH: mm") pop-up box displays the problem, and the day word appears in the tenth cell #21518

Open asdsadas opened 2 years ago

asdsadas commented 2 years ago

Element UI version

2.15.7

OS/Browsers version

Windows10操作系统/谷歌浏览器

Vue version

2.6.14

Reproduction Link

https://codepen.io/pen/

Steps to reproduce

format和value-format 设置为 yyyy年MM月dd日HH:mm

What is Expected?

弹框一个单元格(日期)为xxxx年xx月xx日 第二个为XX:XX

What is actually happening?

弹框一个单元格(日期)为xxxx年xx月xx 第二个为日XX:XX

element-bot commented 2 years ago

Translation of this issue:

Element UI version

2.15.7

OS/Browsers version

Windows10 operating system / Google browser

Vue version

2.6.14

Reproduction Link

https://codepen.io/pen/

Steps to reproduce

Format and value format are set to yyyy MM DD HH: mm

What is Expected?

One cell (date) in the pop-up box is XX month XX, XXXX, and the second cell is XX: XX

What is actually happening?

In the pop-up box, one cell (date) is XXXX, and the second cell (date) is XX: XX

asdsadas commented 2 years ago

9B3M7MU261AYZAAN)CYPJ73

asdsadas commented 2 years ago

`$9%JPOXBPBB8A `~PPRN4Q

ChengDale commented 2 years ago

You used the wrong usage check out your code by https://element.eleme.io/#/zh-CN/component/date-picker

yutaroman commented 2 years ago

I'm having the same problem.

format="yyyy年MM月dd日 HH:mm"

スクリーンショット 2022-01-12 16 59 14