mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
lint issue #171 - added Locale.getDefault()
This commit is contained in:
parent
1c4fc31996
commit
a1797d8062
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue