Changement du format de l'heure

This commit is contained in:
Jacques Foucry 2016-10-19 19:38:13 +02:00
parent b056c44661
commit e2ca1a2390

View file

@ -109,7 +109,7 @@ public class UtilDate {
}
public static String convertDate(long dateInMilliseconds) {
DateFormat formatter = new SimpleDateFormat("dd/MM/yy 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());