rem: return "[invalid format pattern]"; 
add: return "[" + getMessage("error.invalidDatePattern") + "]"; 
context: function formatTimestamp(ts, dformat) {   var fmt;   switch (dformat) {      case "short" :         fmt = res.handlers.site ?               res.handlers.site.preferences.getProperty("shortdateformat") :               root.shortdateformat;         break;      case "long" :         fmt = res.handlers.site ?               res.handlers.site.preferences.getProperty("longdateformat") :               root.longdateformat;         break;      default :         fmt = dformat;   }   // if we still have no format pattern use a default one   if (!fmt)      var fmt = "yyyy-MM-dd HH:mm";   var handler = res.handlers.site ? res.handlers.site : root;   try {      return ts.format(fmt, handler.getLocale(), handler.getTimeZone());   } catch (err) {      return "[invalid format pattern]";   }}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/588927e3338747ddd803e5b5d19b86552ee32ab6/objectFunctions.js/clean/code/Global/objectFunctions.js