Merge pull request #6831 from sivareddyuppathi/fix/time-picker
fix: update time format in 12 hrs format if hourFormat is 12hrspull/6841/head
commit
4bbc7382d8
|
@ -2926,7 +2926,7 @@ export default {
|
||||||
return yearPickerValues;
|
return yearPickerValues;
|
||||||
},
|
},
|
||||||
formattedCurrentHour() {
|
formattedCurrentHour() {
|
||||||
if (this.currentHour == 0) {
|
if (this.currentHour == 0 && this.hourFormat == '12') {
|
||||||
return this.currentHour + 12;
|
return this.currentHour + 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue