mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 13:59:29 +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
|
* @return Generated string
|
||||||
*/
|
*/
|
||||||
public static String FormatDate(int time){
|
public static String FormatDate(int time){
|
||||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYY-MM-dd",
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd",
|
||||||
Locale.getDefault());
|
Locale.getDefault());
|
||||||
return simpleDateFormat.format((long)1000*time);
|
return simpleDateFormat.format((long)1000*time);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user