fix: update time format in 12 hrs format if hourFormat is 12hrs

This commit is contained in:
Reddy Uppathi 2024-11-22 02:16:36 +05:30
parent 312bf677ea
commit 8fb96cf88e

View file

@ -2926,7 +2926,7 @@ export default {
return yearPickerValues;
},
formattedCurrentHour() {
if (this.currentHour == 0) {
if (this.currentHour == 0 && this.hourFormat == '12') {
return this.currentHour + 12;
}