dist/modules/to.js
function canParse() {
        return !/^[0-9]+$/.test(val) &&
            (is_1.isString(val) && /[0-9]/g.test(val) &&
                /(\.|\/|-|:)/g.test(val));
    }
function canParse() {
        return !/^[0-9]+$/.test(val) &&
            (is_1.isString(val) && /[0-9]/g.test(val) &&
                /(\.|\/|-|:)/g.test(val));
    }
function canParse ( ) { return ! / ^[0-9]+$ / . test ( val ) && ( is_1 . isString ( val ) && / [0-9] / g . test ( val ) && / (\.|\/|-|:) / g . test ( val ) ) ; }
This just checks loosely if string is date like string, below parse should catch majority of scenarios.
This just checks loosely if string is date like string below parse should catch majority of scenarios .