Fix date formatting exception

This commit is contained in:
Pierre HUBERT 2018-08-30 15:43:05 +02:00
parent c1093931d4
commit 9cc46c1557

View File

@ -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);
}