lint issue #171 - added Locale.getDefault()

This commit is contained in:
aaronpp65 2018-03-26 00:09:57 +05:30
parent 1c4fc31996
commit a1797d8062

View file

@ -107,7 +107,7 @@ public class DeleteTask extends AsyncTask<Void, Void, Integer> {
String logPageString = "\n{{Commons:Deletion requests/" + media.getFilename() +
"}}\n";
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd", Locale.getDefault());
String date = sdf.format(calendar.getTime());
try{
mwApi.appendEdit(editToken,logPageString+"\n",