rem: fmt = fmt.replace("%B", "" + tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]); fmt = fmt.replace("%b", "" + tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]); fmt = fmt.replace("%A", "" + tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]); fmt = fmt.replace("%a", "" + tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]); 
context: function getDateTime(d, fmt) {	fmt = fmt.replace("%D", "%m/%d/%y");	fmt = fmt.replace("%r", "%I:%M:%S %p");	fmt = fmt.replace("%Y", "" + d.getFullYear());	fmt = fmt.replace("%y", "" + d.getYear());	fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));	fmt = fmt.replace("%d", addZeros(d.getDate(), 2));	fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));	fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));	fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));	fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));	fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));	fmt = fmt.replace("%B", "" + tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]);	fmt = fmt.replace("%b", "" + tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]);	fmt = fmt.replace("%A", "" + tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]);	fmt = fmt.replace("%a", "" + tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]);	fmt = fmt.replace("%%", "%");	return fmt;}
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/72a23bafa6881f92dcdcb701d5d2fa45c9a2876a/element_common.js/clean/jscripts/tiny_mce/plugins/xhtmlxtras/jscripts/element_common.js