Merge pull request #3420 from volvachev/fix-calendar-pm-new
fix: calendar time, when writing pm in inputpull/3509/head
commit
336d1eb006
|
@ -1783,7 +1783,7 @@ export default {
|
||||||
throw 'Invalid Time';
|
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);
|
let time = this.parseTime(timeString);
|
||||||
|
|
||||||
value.setHours(time.hour);
|
value.setHours(time.hour);
|
||||||
|
|
Loading…
Reference in New Issue