Correction format de la date

This commit is contained in:
Jacques Foucry 2016-08-14 11:11:39 +02:00
parent e2d5228a7f
commit e148350ffd

View file

@ -107,7 +107,7 @@ public class UtilDate {
}
public static String convertDate(long dateInMilliseconds) {
DateFormat formatter = new SimpleDateFormat("YYYY/mm/dd hh:MM:ss");
DateFormat formatter = new SimpleDateFormat("dd/MM/yy hh:mm:ss");
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(dateInMilliseconds);
return formatter.format(calendar.getTime());