rem: param.year = story.createtime.getYear(); 
add: param.year = story.createtime.getFullYear(); 
context: function rss_action() {   res.contentType = "text/xml";   res.dependsOn(this.lastupdate);   res.digest();   var now = new Date();   var systitle = root.getTitle();   var sdf = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");   sdf.setTimeZone(new java.util.SimpleTimeZone(0, "UTC"));   var collection;   switch (req.data.show) {      case "all" :         collection = this.allcontent;         break;      case "day" :         collection = this.get(req.data.day);         break;      case "topic" :         collection = this.topics.get(req.data.topic);         break;      default :         collection = this.allstories;   }   var size = (collection != null) ? collection.size() : 0;   var max = req.data.max ? parseInt(req.data.max) : 7;   max = Math.min(max, size);   max = Math.min(max, 10);   var param = new Object();   if (max > 0 && this.online) {      var items = new java.lang.StringBuffer();      var resources = new java.lang.StringBuffer();      collection.prefetchChildren(0, max);      for (var i=0; i<max; i++) {         var story = collection.get(i);         param.url = story.href();         param.title = story.getRenderedContentPart("title").clip(50);         param.text = story.getRenderedContentPart("text").clip(500);         if (!param.title) {            // shit happens: if a content part contains a markup            // element only, String.clip() will return nothing...            if (!param.text)               param.title = "...";            else               param.title = story.getRenderedContentPart("text").clip(25);         }         param.publisher = systitle;         param.creator = story.creator.name;         param.email = "";         if (story.creator.publishemail)            param.email = story.creator.email.entitize();         param.date = sdf.format(story.createtime);         param.subject = story.topic ? story.topic : "";         param.year = story.createtime.getYear();         items.append(story.renderSkinAsString("rssItem", param));         resources.append(story.renderSkinAsString("rssResource", param));      }      param = new Object();      param.url = this.href();      param.title = systitle;      param.creator = this.creator.name      if (this.email)         param.email = this.email.entitize();      else if (this.creator.publishemail)         param.email = this.creator.email.entitize();      param.year = now.getYear();      param.lastupdate = max > 0 ? sdf.format(this.lastUpdate): sdf.format(this.createtime);      param.items = items.toString();      param.resources = resources.toString();      this.renderSkin("rss", param);   }   return;}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/7f5c145a7fb4a9c1544014c9ff1e938bce7a23c0/actions.js/clean/code/Site/actions.js