@indigina/kendo 1.2.18 → 1.2.19

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.
@@ -1856,7 +1856,15 @@ const urlSerialize = (object) => {
1856
1856
  const isEmptyObject = (object) => {
1857
1857
  return object === null || Object.keys(object).length === 0;
1858
1858
  };
1859
- const isDate = (date) => isNaN(date) && !isNaN(Date.parse(date));
1859
+ const isDate = (date) => {
1860
+ try {
1861
+ const parsedDate = new Date(date);
1862
+ return isNaN(date) && parsedDate.toISOString() === date;
1863
+ }
1864
+ catch (ex) {
1865
+ return false;
1866
+ }
1867
+ };
1860
1868
  const urlDeserialize = (params) => {
1861
1869
  const deserialized = {};
1862
1870
  params.forEach((param, key) => {