fix: calendar time, when writing pm in input

Fixes #3398.
pull/3420/head
Egor Volvachev 2022-12-16 22:09:23 +03:00 committed by Egor Volvachev
parent c671256f90
commit 404a238e9e
1 changed files with 1 additions and 1 deletions

View File

@ -1783,7 +1783,7 @@ export default {
throw 'Invalid Time';
}
this.pm = ampm === this.$primevue.config.locale.am || ampm === this.$primevue.config.locale.am.toLowerCase();
this.pm = ampm === this.$primevue.config.locale.pm || ampm === this.$primevue.config.locale.pm.toLowerCase();
let time = this.parseTime(timeString);
value.setHours(time.hour);