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

RangeDatePicker选择器:设置selectedRange时显示有问题 #11

Closed
DAIHUISENNB opened this issue Jan 13, 2024 · 1 comment · Fixed by #12
Closed

RangeDatePicker选择器:设置selectedRange时显示有问题 #11

DAIHUISENNB opened this issue Jan 13, 2024 · 1 comment · Fixed by #12
Assignees
Labels
bug Something isn't working

Comments

@DAIHUISENNB
Copy link

设置selectedRange的结束日期的时分秒不等于00:00:00时会被 isWithinRange 判断覆盖样式

时间戳范围是 :中国大陆时区:1704038400000 - 1706716799000

如截图所示,预期范围是2024-01-01 - 2024-01-31, 其中 2024-01-31被 isWithinRange判断所覆盖样式
image

我在range_days_view文件第220行添加一个判断之后恢复正常显示
image
image

@hasanmhallak hasanmhallak mentioned this issue Jan 14, 2024
Merged
@hasanmhallak
Copy link
Owner

hey @DAIHUISENNB, thank you for opening this issue.

The problem here that I was ignoring the time in all of the DateTime objects but it looks like I missed it here.

I fix the problem now and it should be publish to pub.dev today.

@hasanmhallak hasanmhallak self-assigned this Jan 14, 2024
@hasanmhallak hasanmhallak added the bug Something isn't working label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants