@syncfusion/ej2-calendars
Advanced tools
Comparing version 23.2.6 to 23.2.7
@@ -5,2 +5,4 @@ # Changelog | ||
## 23.2.6 (2023-11-28) | ||
### Calendar | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 23.2.6 | ||
* version : 23.2.7 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-calendars@*", | ||
"_id": "@syncfusion/ej2-calendars@23.2.4", | ||
"_id": "@syncfusion/ej2-calendars@23.2.6", | ||
"_inBundle": false, | ||
"_integrity": "sha512-IoA8w/ftQROQfFPiaxnH1nR5QIdX0HQYdzRGZQoK5pn8fLy0g13wa9vglRCnUrXsHwr2+JKR+kf5mToEYV/C1w==", | ||
"_integrity": "sha512-IACUKQNWSCTQtrcW0MLRY2+lmnx6fLl3P0z8/tvocDpC8k+tXYWJIFB33WqdTMJfrFmJixapKbL1sleRrvHrhw==", | ||
"_location": "/@syncfusion/ej2-calendars", | ||
@@ -34,4 +34,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-23.2.4.tgz", | ||
"_shasum": "ace505e5174cdf9e846854ddf24b9f6d2378c22c", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-23.2.6.tgz", | ||
"_shasum": "b9d9fc4669de28c99d81a6470d97d45b15281e1b", | ||
"_spec": "@syncfusion/ej2-calendars@*", | ||
@@ -48,3 +48,3 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~23.2.6", | ||
"@syncfusion/ej2-buttons": "~23.2.4", | ||
"@syncfusion/ej2-buttons": "~23.2.7", | ||
"@syncfusion/ej2-inputs": "~23.2.4", | ||
@@ -85,4 +85,4 @@ "@syncfusion/ej2-lists": "~23.2.4", | ||
"typings": "index.d.ts", | ||
"version": "23.2.6", | ||
"version": "23.2.7", | ||
"sideEffects": false | ||
} |
@@ -38,2 +38,3 @@ import { IMaskedDateTime } from '../maskbase/interface'; | ||
private isYearZero; | ||
private isLeadingZero; | ||
private dayTypeCount; | ||
@@ -40,0 +41,0 @@ private monthTypeCount; |
@@ -45,2 +45,3 @@ import { L10n, getValue, getDefaultDateObject, cldrData } from '@syncfusion/ej2-base'; | ||
this.isYearZero = false; | ||
this.isLeadingZero = false; | ||
this.dayTypeCount = 0; | ||
@@ -289,3 +290,14 @@ this.monthTypeCount = 0; | ||
newDateValue.setMonth(month - 1); | ||
this.isNavigate = month.toString().length === 2; | ||
if (month >= 10 || month == 1) { | ||
if (this.isLeadingZero && month == 1) { | ||
this.isNavigate = month.toString().length === 1; | ||
this.isLeadingZero = false; | ||
} | ||
else { | ||
this.isNavigate = month.toString().length === 2; | ||
} | ||
} | ||
else { | ||
this.isNavigate = month.toString().length === 1; | ||
} | ||
if (newDateValue.getMonth() !== month - 1) { | ||
@@ -308,2 +320,3 @@ newDateValue.setDate(1); | ||
newDateValue.setMonth(0); | ||
this.isLeadingZero = true; | ||
this.isMonthPart = false; | ||
@@ -310,0 +323,0 @@ this.monthTypeCount = this.isMonthZero ? this.monthTypeCount + 1 : this.monthTypeCount; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12951078
157997