/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesPresenteur.java |
---|
117,7 → 117,9 |
public String formaterDate(String dateNonFormatee) { |
try { |
return DateTimeFormat.getFormat("dd/MM/yyyy").format(UtilitairesServiceResultat.parserDateObservation(dateNonFormatee)); |
String dateFormatee = DateTimeFormat.getFormat("dd/MM/yyyy").format(UtilitairesServiceResultat.parserDateObservation(dateNonFormatee)); |
dateFormatee = (dateFormatee == "01/01/1970") ? "???" : dateFormatee ; |
return dateFormatee; |
} catch (IllegalArgumentException e) { |
return ""; |
} |