public/javascripts/yui/calendar/calendar.js
function(type, args, obj) {
        // Only do this for initial set. Changing the today property after the initial
        // set, doesn't affect pagedate
        var val = args[0];
        if (Lang.isString(val)) {
            val = this._parseDate(val);
        }
        var today = DateMath.clearTime(val);
        if (!this.cfg.initialConfig[DEF_CFG.PAGEDATE.key]) {
            this.cfg.setProperty(DEF_CFG.PAGEDATE.key, today);
        }
        this.today = today;
        this.cfg.setProperty(DEF_CFG.TODAY.key, today, true);
    }
function(type, args, obj) {
        // Only do this for initial set. Changing the today property after the initial
        // set, doesn't affect pagedate
        var val = args[0];
        if (Lang.isString(val)) {
            val = this._parseDate(val);
        }
        var today = DateMath.clearTime(val);
        if (!this.cfg.initialConfig[DEF_CFG.PAGEDATE.key]) {
            this.cfg.setProperty(DEF_CFG.PAGEDATE.key, today);
        }
        this.today = today;
        this.cfg.setProperty(DEF_CFG.TODAY.key, today, true);
    }
function ( type , args , obj ) { // Only do this for initial set. Changing the today property after the initial // set, doesn't affect pagedate var val = args [ 0 ] ; if ( Lang . isString ( val ) ) { val = this . _parseDate ( val ) ; } var today = DateMath . clearTime ( val ) ; if ( ! this . cfg . initialConfig [ DEF_CFG . PAGEDATE . key ] ) { this . cfg . setProperty ( DEF_CFG . PAGEDATE . key , today ) ; } this . today = today ; this . cfg . setProperty ( DEF_CFG . TODAY . key , today , true ) ; }
The default handler for the "today" property
@method configToday
The default handler for the today property