common/core.js
/**
	* Parse a string to date 
	* @param {String} value The date value as string
	* @param {Array} formats The format strings
	*/
Parse a string to date
@param {String} value The date value as string
@param {Array} formats The format strings
Parse a string to date @param { String } value The date value as string @param { Array } formats The format strings
function parseDate(value, formats) {
        if (typeof(Globalize) === FUNCTION && typeof(Globalize.format) === FUNCTION) {
            return Globalize.parseDate(value, formats);
        }
        else {
            return new Date(value);
        }
    }
function parseDate ( value , formats ) { if ( typeof ( Globalize ) === FUNCTION && typeof ( Globalize . format ) === FUNCTION ) { return Globalize . parseDate ( value , formats ) ; } else { return new Date ( value ) ; } }
Parse a string to date
 @param {String} value The date value as string
 @param {Array} formats The format strings
Parse a string to date @param { String } value The date value as string @param { Array } formats The format strings