page/client/kalendae.standalone.js
function makeDateFromString(config) {
        var i,
            string = config._i,
            match = isoRegex.exec(string);

        if (match) {
            // match[2] should be "T" or undefined
            config._f = 'YYYY-MM-DD' + (match[2] || " ");
            for (i = 0; i < 4; i++) {
                if (isoTimes[i][1].exec(string)) {
                    config._f += isoTimes[i][0];
                    break;
                }
            }
            if (parseTokenTimezone.exec(string)) {
                config._f += " Z";
            }
            makeDateFromStringAndFormat(config);
        } else {
            config._d = new Date(string);
        }
    }
function makeDateFromString(config) {
        var i,
            string = config._i,
            match = isoRegex.exec(string);

        if (match) {
            // match[2] should be "T" or undefined
            config._f = 'YYYY-MM-DD' + (match[2] || " ");
            for (i = 0; i < 4; i++) {
                if (isoTimes[i][1].exec(string)) {
                    config._f += isoTimes[i][0];
                    break;
                }
            }
            if (parseTokenTimezone.exec(string)) {
                config._f += " Z";
            }
            makeDateFromStringAndFormat(config);
        } else {
            config._d = new Date(string);
        }
    }
function makeDateFromString ( config ) { var i , string = config . _i , match = isoRegex . exec ( string ) ; if ( match ) { // match[2] should be "T" or undefined config . _f = 'YYYY-MM-DD' + ( match [ 2 ] || " " ) ; for ( i = 0 ; i < 4 ; i ++ ) { if ( isoTimes [ i ] [ 1 ] . exec ( string ) ) { config . _f += isoTimes [ i ] [ 0 ] ; break ; } } if ( parseTokenTimezone . exec ( string ) ) { config . _f += " Z" ; } makeDateFromStringAndFormat ( config ) ; } else { config . _d = new Date ( string ) ; } }
date from iso format
date from iso format