add: format = tinyMCE.regexpReplace(format, "%B", "" + tinyMCE.getLang("lang_inserttime_months_long")[date.getMonth()]); format = tinyMCE.regexpReplace(format, "%b", "" + tinyMCE.getLang("lang_inserttime_months_short")[date.getMonth()]); format = tinyMCE.regexpReplace(format, "%A", "" + tinyMCE.getLang("lang_inserttime_day_long")[date.getDay()]); format = tinyMCE.regexpReplace(format, "%a", "" + tinyMCE.getLang("lang_inserttime_day_short")[date.getDay()]); 
context: 	function getDateTime(date, format) {		format = tinyMCE.regexpReplace(format, "%D", "%m/%d/%y");		format = tinyMCE.regexpReplace(format, "%r", "%I:%M:%S %p");		format = tinyMCE.regexpReplace(format, "%Y", "" + date.getFullYear());		format = tinyMCE.regexpReplace(format, "%y", "" + date.getYear());		format = tinyMCE.regexpReplace(format, "%m", addZeros(date.getMonth()+1, 2));		format = tinyMCE.regexpReplace(format, "%d", addZeros(date.getDate(), 2));		format = tinyMCE.regexpReplace(format, "%H", "" + addZeros(date.getHours(), 2));		format = tinyMCE.regexpReplace(format, "%M", "" + addZeros(date.getMinutes(), 2));		format = tinyMCE.regexpReplace(format, "%S", "" + addZeros(date.getSeconds(), 2));		format = tinyMCE.regexpReplace(format, "%I", "" + (date.getHours() < 12 ? (date.getHours()+1) : 24-date.getHours()));		format = tinyMCE.regexpReplace(format, "%p", "" + (date.getHours() < 12 ? "AM" : "PM"));		format = tinyMCE.regexpReplace(format, "%%", "%");		return format;	}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/914f29b169169eaf678616905b5062afd73de30a/editor_plugin_src.js/buggy/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js