code: function(localeCode, set) {
        var loc = getLocalization(localeCode, false);
        CurrentLocalization = loc;
        // The code is allowed to be more specific than the codes which are required:
        // i.e. zh-CN or en-US. Currently this only affects US date variants such as 8/10/2000.
        if(localeCode && localeCode != loc['code']) {
          loc['code'] = localeCode;
        }
        return loc;
      }
docs: *
  @method Date.setLocale(<code>)
  @returns Locale
  @short Sets the current locale to be used with dates.
  @extra Sugar has support for 13 locales that are available through the "Date Locales" package. In addition you can define a new locale with %Date.addLocale%. For more see @date_format.
  
  *