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