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

Calendar: Hour are ignored on date select #5639

Open
ziodex opened this issue Apr 24, 2024 · 3 comments
Open

Calendar: Hour are ignored on date select #5639

ziodex opened this issue Apr 24, 2024 · 3 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@ziodex
Copy link

ziodex commented Apr 24, 2024

Describe the bug

When 24-hours is enabled on calendar component, and one select the current date without changing the hours, the hours is ignored and is set to 00.

image

image

Reproducer

https://primevue.org/calendar/#time

PrimeVue version

3.50.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

ALL

Steps to reproduce the behavior

Go to https://primevue.org/calendar/#time and select 24-hours format, then click on current date without changing hour.

Expected behavior

To take current hour

@ziodex ziodex added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 24, 2024
@ziodex ziodex changed the title Calendar: Hours are ignored on date select Calendar: Hour are ignored on date select Apr 24, 2024
@louvelg
Copy link

louvelg commented Apr 25, 2024

We have exactly the same issue.

@KumJungMin
Copy link
Contributor

i am suggest the fixed code :) (#5644)

@neilpadfield
Copy link
Contributor

I believe this issue is probably fixed in PR #5607, which was included in PrimeVue version 3.52.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

4 participants