Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

月最后一天是周日时,点击最后一天,再切换周日历不成功。v2版本 #398

Closed
Ft-Zhang88 opened this issue Nov 25, 2020 · 4 comments
Assignees

Comments

@Ft-Zhang88
Copy link

BUG描述

版本:v2

当出现月最后一天是周日时,比如2021-01-31,2021-02-28均为周日,在月日历视图下点击最后一天,然后再去切换周日历,切换后不成功,周日历的日期不显示。

复现步骤

期望结果

实际结果

截图

@treadpit
Copy link
Owner

测试的代码是什么时候的包呢?

@Ft-Zhang88
Copy link
Author

测试的代码是什么时候的包呢?

10月19日下载的代码,使用的V2。

@treadpit
Copy link
Owner

测试的代码是什么时候的包呢?

10月19日下载的代码,使用的V2。

用最新 master 代码测试没有问题,拉下最新的,这个应该和 #395 是一个原因造成的

@Ft-Zhang88
Copy link
Author

又重新验证了,应该是firstDayOfWeek: 'Mon'后的问题。具体现象如下:
1、星期日在最后一列,2021-01-31,2021-02-28均为周日,且为最后一列时,切换日历不成功。
2、其他时间切换日历的时候,没有按照星期一是第一天进行切换,而是仍按照星期日为第一天进行切换的,所以切换到了下一周。

@treadpit treadpit added the todo label Dec 8, 2020
@treadpit treadpit added fixed and removed todo labels Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants