mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Changement du format de l'heure
This commit is contained in:
parent
b056c44661
commit
e2ca1a2390
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue