element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] questions about the time zone of date-picker

Open emodo opened this issue 9 years ago • 5 comments

Element UI version

1.3.1

OS/Browsers version

Mac / Chrome 58.0.3029.110 (64-bit)

Vue version

2.2.2

Reproduction Link

https://jsfiddle.net/emodo/000jy7qm/

Steps to reproduce

比如说时区设置为日本,选择日期为5月24日,但是转成中国时间变为了23日 很奇怪为什么所有时间变成了0,而没有按照国际标准时间返回

What is Expected?

期待输出 Wed May 24 2017 09:00:00 GMT 0900 (JST)

What is actually happening?

实际输出为 Wed May 24 2017 00:00:00 GMT 0900 (JST)

emodo avatar May 27 '17 10:05 emodo

Translation of this issue:

Element UI version

1.3.1

OS/Browsers version

Mac / Chrome 58.0.3029.110 (64-bit)

Vue version

2.2.2

Reproduction Link

https://jsfiddle.net/emodo/000jy7qm/

Steps to reproduce

For example, when the time zone is set in Japan, the date is May 24th, but it turns to China for 23 days

It's strange why all the time became 0 instead of returning at international standard time

What is Expected?

Expect to output Wed May 242017 09:00:00 GMT 0900 (JST)

What is actually happening?

The actual output is Wed May 242017 00:00:00 GMT 0900 (JST)

element-bot avatar May 27 '17 10:05 element-bot

+1

smackgg avatar May 31 '17 02:05 smackgg

#5134

emodo avatar May 31 '17 05:05 emodo

@Leopoldthecoder 大佬在勤奋的修Bug orz

Kingwl avatar Jun 03 '17 10:06 Kingwl

@Kingwl 今天要发版= =

Leopoldthecoder avatar Jun 03 '17 10:06 Leopoldthecoder