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

DatePicker 12am to 12pm issue #6686

Closed
Alex-Grimes opened this issue Oct 30, 2024 · 0 comments · Fixed by #6687
Closed

DatePicker 12am to 12pm issue #6686

Alex-Grimes opened this issue Oct 30, 2024 · 0 comments · Fixed by #6687
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Alex-Grimes
Copy link
Contributor

Describe the bug

The DatePicker component does not work properly in the 12-hour format if you have 12 am selected for time and select another date the time changes to 12 pm this doesn't occur with other times leading me to believe this is unintended

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template?file=README.md

PrimeVue version

4.1.1

Vue version

4.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

Go to DatePicker Component with 12-hour format set time to 12 AM clicking another date time changes to 12 pm

Expected behavior

12 am should not change to 12pm on selecting a new date

@Alex-Grimes Alex-Grimes added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 30, 2024
@Alex-Grimes Alex-Grimes changed the title Component Name: Issue Title DatePicker 12am to 12pm issue Oct 31, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 12, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.2.2 milestone Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants