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

fix(datePicker): thy-year-picker does not have a default time, when i… #2836

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

mengshuicmq
Copy link
Contributor

…t open , throws an error.(#INFR-9345)

@vercel
Copy link

vercel bot commented Sep 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tethys ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2023 3:44am

newEnd = dateAddAmount(newStart, 1, headerMode);
}
if (newStart.isSame(end, headerMode as TinyDateCompareGrain)) {
if (!newEnd || (end && newStart.isSame(end, headerMode as TinyDateCompareGrain))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

end 可以去掉吧

@mengshuicmq mengshuicmq merged commit 367c436 into master Sep 11, 2023
7 checks passed
@mengshuicmq mengshuicmq deleted the cmq/fix-#INFR-9345 branch September 11, 2023 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants