Uhm, I overestimated the power of this function. I don't think that the date is the same mess. dd.mm.yyyy is the normal date format in Germany. How about replacing exactly that pattern into the international standard? I.e.

	item.date = item.date.replace(/(\d\d)\.(\d\d)\.(\d\d\d\d)/,"$3-$2-$1");