diff --git a/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js b/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js index 290ca51..50b9ef1 100644 --- a/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js +++ b/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js @@ -6727,7 +6727,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /** diff --git a/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js b/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js index 290ca51..50b9ef1 100644 --- a/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js +++ b/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js @@ -6727,7 +6727,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /** diff --git a/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js b/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js index c6c25c0..c98fb83 100644 --- a/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js +++ b/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js @@ -6714,7 +6714,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /** diff --git a/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE b/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE index c6c25c0..c98fb83 100644 --- a/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE +++ b/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE @@ -6714,7 +6714,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /** diff --git a/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js b/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js index 290ca51..50b9ef1 100644 --- a/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js +++ b/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js @@ -6727,7 +6727,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /** diff --git a/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js b/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js index 290ca51..50b9ef1 100644 --- a/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js +++ b/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js @@ -6727,7 +6727,7 @@ utils.isArray = function(a) { * Returns an indication of whether the argument is a Date or not */ utils.isDate = function(d) { - return utils.typeName(d) == 'Date'; + return d instanceof Date; }; /**