Merge pull request #6831 from sivareddyuppathi/fix/time-picker

fix: update time format in 12 hrs format if hourFormat is 12hrs
pull/6841/head
Tuğçe Küçükoğlu 2024-11-22 09:57:07 +03:00 committed by GitHub
commit 4bbc7382d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
}