mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-10 07:51:20 +01:00
Correction format de la date
This commit is contained in:
parent
e2d5228a7f
commit
5fde8c367c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class UtilDate {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String convertDate(long dateInMilliseconds) {
|
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 calendar = Calendar.getInstance();
|
||||||
calendar.setTimeInMillis(dateInMilliseconds);
|
calendar.setTimeInMillis(dateInMilliseconds);
|
||||||
return formatter.format(calendar.getTime());
|
return formatter.format(calendar.getTime());
|
||||||
|
|
Loading…
Reference in a new issue