Smá workaround, ég nota java.util.Calendar mikið, auðveldar margt. String dags = “2002-09-30 11:03:18.4”; Locale isl = new Locale(“IS”,“is”); Calendar cal = GregorianCalendar.getInstance(isl); cal.set(Calendar.YEAR,Integer.parseInt(dags.substring(0,4))); cal.set(Calendar.MONTH,Integer.parseInt(dags.substring(5,7))); cal.set(Calendar.DATE,Integer.parseInt(dags.substring(8,10))); cal.set(Calendar.HOUR,Integer.parseInt(dags.substring(11,13)));...