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

pull/6831/head
Reddy Uppathi 2024-11-22 02:16:36 +05:30
parent 312bf677ea
commit 8fb96cf88e
1 changed files with 1 additions and 1 deletions

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;
}