Skip to content

Commit

Permalink
fix: calendar time, when writing pm in input
Browse files Browse the repository at this point in the history
  • Loading branch information
volvachev authored and Egor Volvachev committed Dec 19, 2022
1 parent c671256 commit 404a238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 404a238

Please sign in to comment.