mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-17 18:41:37 +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) {
|
||||
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());
|
||||
|
|
Loading…
Reference in a new issue