core/utils/helpers/dateFormat.js
function (format) {

        var name = "default";

        for (var f in self.masks) {
            if ( self.masks[f] === format )
                return f
        }

        return name
    }
function (format) {

        var name = "default";

        for (var f in self.masks) {
            if ( self.masks[f] === format )
                return f
        }

        return name
    }
function ( format ) { var name = "default" ; for ( var f in self . masks ) { if ( self . masks [ f ] === format ) return f } return name }
Get mask name from a given format

@param {string} format

@return {string} maskName
Get mask name from a given format