mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
fix: update time format in 12 hrs format if hourFormat is 12hrs
This commit is contained in:
parent
312bf677ea
commit
8fb96cf88e
1 changed files with 1 additions and 1 deletions
|
@ -2926,7 +2926,7 @@ export default {
|
|||
return yearPickerValues;
|
||||
},
|
||||
formattedCurrentHour() {
|
||||
if (this.currentHour == 0) {
|
||||
if (this.currentHour == 0 && this.hourFormat == '12') {
|
||||
return this.currentHour + 12;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue