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(Calendar): prevent hours clear when day change on 24 format #5639 #5644

Closed
wants to merge 5 commits into from

Conversation

KumJungMin
Copy link
Contributor

@KumJungMin KumJungMin commented Apr 25, 2024

Defect Fixes

Copy link

vercel bot commented Apr 25, 2024

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

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2024 10:46pm
primevue-v4 ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2024 10:46pm

@KumJungMin KumJungMin changed the title fix(Calendar): apply currentHours when day change at 24 format fix(Calendar): apply currentHours when day change at 24 format #5639 Apr 25, 2024
@KumJungMin KumJungMin changed the title fix(Calendar): apply currentHours when day change at 24 format #5639 fix(Calendar): prevent hours clear when day change on 24 format #5639 Apr 25, 2024
@@ -1170,6 +1170,7 @@ export default {
this.pm ? date.setHours(this.currentHour + 12) : date.setHours(this.currentHour);
}

date.setHours(this.currentHour);
Copy link

Choose a reason for hiding this comment

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

Correct code would be
else date.setHours(this.currentHour);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh this issue is resolved the PR (#5607)

@KumJungMin KumJungMin closed this Apr 25, 2024
@KumJungMin KumJungMin deleted the issue-5639 branch April 25, 2024 22:50
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