Correction format de la date

This commit is contained in:
Jacques Foucry 2016-08-12 16:08:27 +02:00
parent e2d5228a7f
commit 5fde8c367c

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/yyyy HH:mm:ss");
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(dateInMilliseconds);
return formatter.format(calendar.getTime());