mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-26 13:38:59 +00:00
Fix date formatting exception
This commit is contained in:
parent
c1093931d4
commit
9cc46c1557
@ -56,7 +56,7 @@ public class StringsUtils {
|
||||
* @return Generated string
|
||||
*/
|
||||
public static String FormatDate(int time){
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYY-MM-dd",
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd",
|
||||
Locale.getDefault());
|
||||
return simpleDateFormat.format((long)1000*time);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user