rem: var eventTime = new Date( timeval ) ; var hrs=eventTime.getHours(); var suffix='a'; if (hrs > 12) { hrs=hrs-12; suffix='p'; } var minutes=eventTime.getMinutes(); if (minutes < 10) retval=hrs+':0'+minutes; else retval=hrs+':'+minutes; if (retval=='0:00') retval='Midnight'; else if (retval=='12:00') retval='Noon'; else retval+=suffix; 
add: retval= opener.gCalendarWindow.dateFormater.getFormatedTime( timeval ); if (retval.indexOf("AM")>-1) retval=retval.substring(0,retval.indexOf("AM")-1)+'a'; if (retval.indexOf("PM")>-1) retval=retval.substring(0,retval.indexOf("PM")-1)+'p'; if (retval=='12:00p') retval='Noon'; 
context: function returnTime(timeval) {   var eventTime = new Date( timeval ) ;   var hrs=eventTime.getHours();   var suffix='a';   if (hrs > 12)     {      hrs=hrs-12;      suffix='p';     }   var minutes=eventTime.getMinutes();   if (minutes < 10)      retval=hrs+':0'+minutes;   else      retval=hrs+':'+minutes;   if (retval=='0:00')      retval='Midnight';   else      if (retval=='12:00')         retval='Noon';      else         retval+=suffix;   return retval;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f329c8a359144429855eaf9d3c5261f5b3347d88/printDialog.js/buggy/calendar/resources/content/printDialog.js