ElemeFE / ElemeFE/element

[Bug Report] el-Calendar 切换了电脑时区之后无法点击下一个月按钮

Open
#21,653 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.6

### OS/Browsers version
MacOs 11.6.2 / Chorme版本 95.0.4638.69(正式版本) (x86_64)

### Vue version
2.6.14

### Reproduction Link
https://codepen.io/pen/

### Steps to reproduce
elementUi文档(https://element.eleme.cn/#/zh-CN/component/calendar) 的基本示例也一样有这个错误, 当我把本地电脑时区切换成其他的(如:美国时区GMT-8, 时间为2022/01/20 00:25:32),导致如下问题:
1、今日时间错误, 为19号, 应该是20号,
2、点击上一个月的时候会跳过2021年12月,直接进入2021年11月
3、点击下一个月无反应

### What is Expected?
期待能正确对待时区问题, 另外希望支持能自定义 “今日时间”

### What is actually happening?
切换时区之后无法使用, 无法设置今日时间

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.