rem: var FormattedTime = calendarWindow.dateFormater.getFormatedTime( TimeToFormat ); 
add: var FormattedTime = calendarWindow.dateFormater.getFormatedTime( TimeToFormat ); 
context: function WeekView( calendarWindow ){   this.superConstructor( calendarWindow );      //set the time on the left hand side labels   //need to do this in JavaScript to preserve formatting   for( var i = 0; i < 24; i++ ) {      var TimeToFormat = new Date();      TimeToFormat.setHours( i );      TimeToFormat.setMinutes( "0" );            var FormattedTime = calendarWindow.dateFormater.getFormatedTime( TimeToFormat );            var Label = document.getElementById( "week-view-hour-" + i );      Label.setAttribute( "value", FormattedTime );   }      // get week view header items   gHeaderDateItemArray = new Array();   for( var dayIndex = 1; dayIndex <= 7; ++dayIndex ) {      var headerDateItem = document.getElementById( "week-header-date-" + dayIndex );      gHeaderDateItemArray[ dayIndex ] = headerDateItem;   }      var weekViewEventSelectionObserver =    {      onSelectionChanged: function( EventSelectionArray ) {          if( EventSelectionArray.length > 0 ) {             //for some reason, this function causes the tree to go into a select / unselect loop             //putting it in a settimeout fixes this.             setTimeout( "gCalendarWindow.weekView.clearSelectedDate();", 1 );                         var i = 0;             for( i = 0; i < EventSelectionArray.length; i++ ) {                 gCalendarWindow.weekView.selectBoxForEvent( EventSelectionArray[i] );             }          } else {             //select the proper day             gCalendarWindow.weekView.hiliteSelectedDate();          }      }   }   calendarWindow.EventSelection.addObserver( weekViewEventSelectionObserver );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7d60ddcf4e0c153c5b7d0c018efc33e877d8e4e7/weekView.js/clean/calendar/resources/content/weekView.js