@syncfusion/ej2-calendars 24.2.8 → 24.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +6 -5
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +6 -5
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/datepicker/datepicker.js +2 -1
- package/src/timepicker/timepicker.js +4 -4
|
@@ -4121,7 +4121,8 @@ let DatePicker = class DatePicker extends Calendar {
|
|
|
4121
4121
|
}
|
|
4122
4122
|
if ((this.getModuleName() === 'datetimepicker')) {
|
|
4123
4123
|
if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) {
|
|
4124
|
-
|
|
4124
|
+
const modifiedValue = this.inputElement.value.replace(/(am|pm|Am|aM|pM|Pm)/g, (match) => match.toLocaleUpperCase());
|
|
4125
|
+
date = this.globalize.parseDate(modifiedValue, dateOptions);
|
|
4125
4126
|
}
|
|
4126
4127
|
else {
|
|
4127
4128
|
if (this.calendarMode === 'Gregorian') {
|
|
@@ -11904,10 +11905,6 @@ let TimePicker = class TimePicker extends Component {
|
|
|
11904
11905
|
}
|
|
11905
11906
|
}
|
|
11906
11907
|
removeClass([this.inputWrapper.container], [FOCUS]);
|
|
11907
|
-
const blurArguments = {
|
|
11908
|
-
model: this
|
|
11909
|
-
};
|
|
11910
|
-
this.trigger('blur', blurArguments);
|
|
11911
11908
|
if (this.getText() !== this.inputElement.value) {
|
|
11912
11909
|
this.updateValue((this.inputElement).value, e);
|
|
11913
11910
|
}
|
|
@@ -11919,6 +11916,10 @@ let TimePicker = class TimePicker extends Component {
|
|
|
11919
11916
|
if (this.inputElement.value === '') {
|
|
11920
11917
|
this.invalidValueString = null;
|
|
11921
11918
|
}
|
|
11919
|
+
const blurArguments = {
|
|
11920
|
+
model: this
|
|
11921
|
+
};
|
|
11922
|
+
this.trigger('blur', blurArguments);
|
|
11922
11923
|
}
|
|
11923
11924
|
/**
|
|
11924
11925
|
* Focuses out the TimePicker textbox element.
|